diff options
author | glebius <glebius@FreeBSD.org> | 2006-05-16 11:49:26 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2006-05-16 11:49:26 +0000 |
commit | 8102032dd41968551c7f7f382efca5b9e8ec2df8 (patch) | |
tree | 08ef114484d938e6cf2ba230a7d67eb869541485 /sys/netgraph | |
parent | 7a372541349967b87a6e7aad8eeeb311706caedc (diff) | |
download | FreeBSD-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.c | 4 |
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) { |