git: kernel: Use nitems() from <sys/param.h> instead of custom define

Aaron LI aly at crater.dragonflybsd.org
Wed Jul 25 19:28:21 PDT 2018


commit 249483dfec1fb7a8da1e2094624856a84033a5b0
Author: Aaron LI <aly at aaronly.me>
Date:   Tue Mar 20 15:48:55 2018 +0800

    kernel: Use nitems() from <sys/param.h> instead of custom define
    
    Since <sys/param.h> is already included in these files.

Summary of changes:
 sys/bus/u4b/wlan/if_uath.c                       |   4 +-
 sys/bus/u4b/wlan/if_ural.c                       |   8 +-
 sys/bus/u4b/wlan/if_urtw.c                       |  34 +++----
 sys/bus/u4b/wlan/if_zyd.c                        | 109 ++++++++---------------
 sys/contrib/dev/ath/ath_hal/ar9300/ar9300_gpio.c |   2 -
 sys/contrib/dev/ath/ath_hal/ar9300/ar9300_misc.c |   8 +-
 sys/dev/crypto/safe/safe.c                       |   6 +-
 sys/dev/netif/bwn/siba/siba_bwn.c                |   3 +-
 sys/dev/netif/bwn/siba/siba_core.c               |  13 ++-
 9 files changed, 63 insertions(+), 124 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/249483dfec1fb7a8da1e2094624856a84033a5b0


-- 
DragonFly BSD source repository



More information about the Commits mailing list