remove unnecessary NULL check...

Coverity ID:	1545
This commit is contained in:
John-Mark Gurney 2006-09-25 01:29:48 +00:00
parent 2dca50b6a1
commit 33fabe46da
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162608

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