DragonFly BSD
DragonFly commits List (threaded) for 2011-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel: Remove some unneeded NULL checks after kmalloc() with M_WAITOK.


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 5 Dec 2011 02:41:40 -0800 (PST)

commit b6c57cebe7168de557596af343f5b9758beedb59
Author: Sascha Wildner <saw@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]