git: kernel: Remove some unneeded NULL checks after kmalloc() with M_WAITOK.
Sascha Wildner
swildner at crater.dragonflybsd.org
Mon Dec 5 02:43:09 PST 2011
commit b6c57cebe7168de557596af343f5b9758beedb59
Author: Sascha Wildner <saw at online.de>
Date: Mon Dec 5 11:39:06 2011 +0100
kernel: Remove some unneeded NULL checks after kmalloc() with M_WAITOK.
Summary of changes:
sys/bus/cam/scsi/scsi_sg.c | 5 -----
sys/bus/mmc/mmc.c | 2 --
sys/dev/raid/mfi/mfi.c | 3 ---
sys/dev/sound/pcm/buffer.c | 3 ---
sys/dev/sound/pcm/feeder.c | 12 ------------
sys/dev/sound/pcm/feeder_rate.c | 7 -------
sys/kern/link_elf_obj.c | 9 ---------
sys/kern/sysv_msg.c | 9 ---------
sys/libprop/prop_kern.c | 2 --
sys/net/pf/pf_if.c | 5 -----
sys/net/pf/pf_ioctl.c | 8 +-------
sys/net/pf/pf_subr.c | 3 ---
sys/opencrypto/crypto.c | 10 ----------
sys/opencrypto/cryptodev.c | 2 --
14 files changed, 1 insertions(+), 79 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b6c57cebe7168de557596af343f5b9758beedb59
--
DragonFly BSD source repository
More information about the Commits
mailing list