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) &&
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to