Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Apr 2012 18:37:27 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r234807 - stable/8/sys/netinet
Message-ID:  <201204291837.q3TIbRJ4026850@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Sun Apr 29 18:37:26 2012
New Revision: 234807
URL: http://svn.freebsd.org/changeset/base/234807

Log:
  MFC r233940:
  
  Remove duplicate condition in if statement.

Modified:
  stable/8/sys/netinet/sctp_usrreq.c
Directory Properties:
  stable/8/sys/   (props changed)

Modified: stable/8/sys/netinet/sctp_usrreq.c
==============================================================================
--- stable/8/sys/netinet/sctp_usrreq.c	Sun Apr 29 18:35:19 2012	(r234806)
+++ stable/8/sys/netinet/sctp_usrreq.c	Sun Apr 29 18:37:26 2012	(r234807)
@@ -3570,7 +3570,6 @@ sctp_setopt(struct socket *so, int optna
 
 			SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, optsize);
 			if ((av->assoc_value != SCTP_SS_DEFAULT) &&
-			    (av->assoc_value != SCTP_SS_DEFAULT) &&
 			    (av->assoc_value != SCTP_SS_ROUND_ROBIN) &&
 			    (av->assoc_value != SCTP_SS_ROUND_ROBIN_PACKET) &&
 			    (av->assoc_value != SCTP_SS_PRIORITY) &&



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204291837.q3TIbRJ4026850>