summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2500pci.c
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2008-11-09 17:56:10 +0100
committerJohn W. Linville <linville@tuxdriver.com>2008-11-21 17:08:16 +0100
commit87c1687d1a7bf0d4975d613cb699ba95b329359e (patch)
treee643bba6f090292d7395ec5b9e9ac93a78ceab9f /drivers/net/wireless/rt2x00/rt2500pci.c
parentmac80211_hwsim: Update documentation (AP mode enabled) (diff)
downloadlinux-87c1687d1a7bf0d4975d613cb699ba95b329359e.tar.xz
linux-87c1687d1a7bf0d4975d613cb699ba95b329359e.zip
drivers/net/wireless/ath9k/rc.c: use ARRAY_SIZE
ARRAY_SIZE is more concise to use when the size of an array is divided by the size of its type or the size of its first element. The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // <smpl> @i@ @@ #include <linux/kernel.h> @depends on i using "paren.iso"@ type T; T[] E; @@ - (sizeof(E)/sizeof(E[...])) + ARRAY_SIZE(E) // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2500pci.c')
0 files changed, 0 insertions, 0 deletions