Remove unneeded check.
Coverity ID: 445
This commit is contained in:
parent
e5f88c4492
commit
441bc021a2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=158646
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user