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

git: kernel: Remove NULL checks after kmalloc(..., M_INTWAIT).


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 4 Dec 2012 10:45:32 -0800 (PST)

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



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