svn commit: r233940 - head/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Fri Apr 6 09:03:03 UTC 2012


Author: tuexen
Date: Fri Apr  6 09:03:02 2012
New Revision: 233940
URL: http://svn.freebsd.org/changeset/base/233940

Log:
  Remove duplicate condition in if statement.
  
  Obtained from: brucec@
  MFC after: 3 days

Modified:
  head/sys/netinet/sctp_usrreq.c

Modified: head/sys/netinet/sctp_usrreq.c
==============================================================================
--- head/sys/netinet/sctp_usrreq.c	Fri Apr  6 08:13:29 2012	(r233939)
+++ head/sys/netinet/sctp_usrreq.c	Fri Apr  6 09:03:02 2012	(r233940)
@@ -3581,7 +3581,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) &&


More information about the svn-src-head mailing list