Page MenuHomeFreeBSD

kevent: do not check knote lists being empty before removing a knote
ClosedPublic

Authored by kib on Fri, Apr 10, 8:30 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 16, 9:56 PM
Unknown Object (File)
Thu, Apr 16, 2:54 PM
Unknown Object (File)
Wed, Apr 15, 1:22 PM
Unknown Object (File)
Wed, Apr 15, 7:55 AM
Unknown Object (File)
Tue, Apr 14, 2:43 PM
Unknown Object (File)
Tue, Apr 14, 2:43 PM
Unknown Object (File)
Sat, Apr 11, 5:22 AM
Unknown Object (File)
Fri, Apr 10, 11:36 AM
Subscribers

Details

Summary
If knote belongs to the list, there is no reason to check for the list
emptiness.  On the other hand, if the knote does not belong to the list,
then checking for emptiness is not enough since there might be a
different knote there.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable