cvs commit: src/sys/emulation/ndis
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Nov 17 11:00:08 PST 2004
dillon 2004/11/17 10:59:21 PST
DragonFly src repository
Modified files:
sys/emulation/ndis kern_ndis.c subr_ndis.c subr_ntoskrnl.c
Log:
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 at xxxxxxxxxxxxxxxxxx>
Revision Changes Path
1.5 +0 -11 src/sys/emulation/ndis/kern_ndis.c
1.8 +0 -28 src/sys/emulation/ndis/subr_ndis.c
1.5 +0 -4 src/sys/emulation/ndis/subr_ntoskrnl.c
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/ndis/kern_ndis.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/ndis/subr_ndis.c.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/ndis/subr_ntoskrnl.c.diff?r1=1.4&r2=1.5&f=u
More information about the Commits
mailing list