remove unnecessary NULL check...
Coverity ID: 1545
This commit is contained in:
parent
903d9f39aa
commit
2b64b4e601
@ -1962,8 +1962,7 @@ kqfd_register(int fd, struct kevent *kev, struct thread *td, int waitok)
|
||||
kqueue_release(kq, 0);
|
||||
|
||||
noaquire:
|
||||
if (fp != NULL)
|
||||
fdrop(fp, td);
|
||||
fdrop(fp, td);
|
||||
|
||||
return error;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user