mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-03 23:28:58 +00:00
remove unnecessary NULL check...
Coverity ID: 1545
This commit is contained in:
parent
2dca50b6a1
commit
33fabe46da
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162608
|
@ -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 a new issue