remove unnecessary NULL check...

Coverity ID:	1545
This commit is contained in:
jmg 2006-09-25 01:29:48 +00:00
parent 903d9f39aa
commit 2b64b4e601

View File

@ -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;
}