summaryrefslogtreecommitdiffstats
path: root/sys/netgraph
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2006-05-16 11:49:26 +0000
committerglebius <glebius@FreeBSD.org>2006-05-16 11:49:26 +0000
commit8102032dd41968551c7f7f382efca5b9e8ec2df8 (patch)
tree08ef114484d938e6cf2ba230a7d67eb869541485 /sys/netgraph
parent7a372541349967b87a6e7aad8eeeb311706caedc (diff)
downloadFreeBSD-src-8102032dd41968551c7f7f382efca5b9e8ec2df8.zip
FreeBSD-src-8102032dd41968551c7f7f382efca5b9e8ec2df8.tar.gz
Remove unneeded check.
Coverity ID: 445
Diffstat (limited to 'sys/netgraph')
-rw-r--r--sys/netgraph/ng_socket.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/netgraph/ng_socket.c b/sys/netgraph/ng_socket.c
index 63ba92d..c977c43 100644
--- a/sys/netgraph/ng_socket.c
+++ b/sys/netgraph/ng_socket.c
@@ -207,10 +207,6 @@ ngc_send(struct socket *so, int flags, struct mbuf *m, struct sockaddr *addr,
char *path = NULL;
int len, error = 0;
- if (pcbp == NULL) {
- error = EINVAL;
- goto release;
- }
#ifdef NOTYET
if (control && (error = ng_internalize(control, td))) {
if (pcbp->sockdata == NULL) {
OpenPOWER on IntegriCloud