svn commit: r234807 - stable/8/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Sun Apr 29 18:37:27 UTC 2012


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) &&


More information about the svn-src-stable-8 mailing list