git: kernel: Remove NULL checks after kmalloc(..., M_INTWAIT).
Sascha Wildner
swildner at crater.dragonflybsd.org
Tue Dec 4 10:45:32 PST 2012
commit 6ea5f4c4dd1dfa95dff164500cd38eeb78182d9d
Author: Sascha Wildner <saw at online.de>
Date: Tue Dec 4 19:43:47 2012 +0100
kernel: Remove NULL checks after kmalloc(..., M_INTWAIT).
M_INTWAIT will not return NULL unless M_NULLOK is passed too.
Summary of changes:
sys/bus/cam/scsi/scsi_da.c | 5 -----
sys/dev/crypto/hifn/hifn7751.c | 5 -----
sys/dev/netif/ath/ath/if_ath.c | 17 -----------------
sys/dev/netif/iwn/if_iwn.c | 6 ------
sys/kern/subr_bus.c | 14 --------------
sys/netproto/802_11/wlan/ieee80211_hwmp.c | 4 ----
sys/netproto/802_11/wlan/ieee80211_mesh.c | 6 ------
sys/netproto/802_11/wlan/ieee80211_regdomain.c | 6 ------
sys/opencrypto/cryptosoft.c | 2 --
sys/platform/pc32/i386/nexus.c | 2 --
sys/platform/pc64/x86_64/nexus.c | 2 --
11 files changed, 0 insertions(+), 69 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6ea5f4c4dd1dfa95dff164500cd38eeb78182d9d
--
DragonFly BSD source repository
More information about the Commits
mailing list