git: kqueue: Don't check list against NULL; list is never NULL.

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Dec 29 03:12:12 PST 2015


commit 43348272c25e65a10be349b8fdda7aee8deb4465
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Tue Dec 29 19:04:36 2015 +0800

    kqueue: Don't check list against NULL; list is never NULL.
    
    Instead, do a quick and unlocked SLIST_EMPTY check on the list.

Summary of changes:
 sys/sys/event.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/43348272c25e65a10be349b8fdda7aee8deb4465


-- 
DragonFly BSD source repository



More information about the Commits mailing list