svn commit: r339035 - stable/11/sys/netinet
Steven Hartland
smh at FreeBSD.org
Mon Oct 1 07:49:17 UTC 2018
Author: smh
Date: Mon Oct 1 07:49:16 2018
New Revision: 339035
URL: https://svnweb.freebsd.org/changeset/base/339035
Log:
MFC r336165:
Removed pointless NULL check in rip_pcblist.
Sponsored by: Multiplay
Modified:
stable/11/sys/netinet/raw_ip.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/netinet/raw_ip.c
==============================================================================
--- stable/11/sys/netinet/raw_ip.c Mon Oct 1 04:08:47 2018 (r339034)
+++ stable/11/sys/netinet/raw_ip.c Mon Oct 1 07:49:16 2018 (r339035)
@@ -1053,8 +1053,6 @@ rip_pcblist(SYSCTL_HANDLER_ARGS)
return (error);
inp_list = malloc(n * sizeof *inp_list, M_TEMP, M_WAITOK);
- if (inp_list == NULL)
- return (ENOMEM);
INP_INFO_RLOCK(&V_ripcbinfo);
for (inp = LIST_FIRST(V_ripcbinfo.ipi_listhead), i = 0; inp && i < n;
More information about the svn-src-stable
mailing list