Date: Fri, 29 May 2015 12:08:50 +0000 (UTC) From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r283710 - stable/10/sys/netinet Message-ID: <201505291208.t4TC8oV4017633@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505291208.t4TC8oV4017633>