svn commit: r234791 - stable/9/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Sun Apr 29 16:12:32 UTC 2012


Author: tuexen
Date: Sun Apr 29 16:12:31 2012
New Revision: 234791
URL: http://svn.freebsd.org/changeset/base/234791

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

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

Modified: stable/9/sys/netinet/sctp_usrreq.c
==============================================================================
--- stable/9/sys/netinet/sctp_usrreq.c	Sun Apr 29 16:10:24 2012	(r234790)
+++ stable/9/sys/netinet/sctp_usrreq.c	Sun Apr 29 16:12:31 2012	(r234791)
@@ -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-stable-9 mailing list