Author: tuexen
Date: Fri May 29 12:08:49 2015
New Revision: 283710
URL: https://svnweb.freebsd.org/changeset/base/283710

Log:
  MFC r277031
  
  Remove dead code.
  
  Reported by:  Coverity
  CID:          748665

Modified:
  stable/10/sys/netinet/sctp_pcb.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/netinet/sctp_pcb.c
==============================================================================
--- stable/10/sys/netinet/sctp_pcb.c    Fri May 29 12:06:00 2015        
(r283709)
+++ stable/10/sys/netinet/sctp_pcb.c    Fri May 29 12:08:49 2015        
(r283710)
@@ -1441,9 +1441,6 @@ sctp_findassociation_ep_addr(struct sctp
                }
                head = &inp->sctp_tcbhash[SCTP_PCBHASH_ALLADDR(rport,
                    inp->sctp_hashmark)];
-               if (head == NULL) {
-                       goto null_return;
-               }
                LIST_FOREACH(stcb, head, sctp_tcbhash) {
                        if (stcb->rport != rport) {
                                /* remote port does not match */
_______________________________________________
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