Cave in and remove NULL checks for M_WAITOK mallocs. DragonFly's M_WAITOK
authorMatthew Dillon <dillon@dragonflybsd.org>
Wed, 17 Nov 2004 18:59:21 +0000 (18:59 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Wed, 17 Nov 2004 18:59:21 +0000 (18:59 +0000)
commitbc547698a399d4ee1d6a8b56355a66e994268c1d
treeba8c13ab860e59d3f115358e6507c320c64f1ddc
parent34d10e952e8c1eb3589ad7c435e26e9fd3562e79
Cave in and remove NULL checks for M_WAITOK mallocs.  DragonFly's M_WAITOK
malloc will panic rather then return NULL, unless M_NULLOK is also specified,
so we don't actually have to check for NULL most of the time.

Submitted-by: Andrew Atrens <atrens@nortelnetworks.com>
sys/emulation/ndis/kern_ndis.c
sys/emulation/ndis/subr_ndis.c
sys/emulation/ndis/subr_ntoskrnl.c