Remove unneeded check.

Coverity ID:	445
This commit is contained in:
Gleb Smirnoff 2006-05-16 11:49:26 +00:00
parent e5f88c4492
commit 441bc021a2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=158646

View File

@ -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) {