diff options
author | Alejandro Martinez Ruiz <alex@flawedcode.org> | 2007-10-18 04:16:33 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:03:37 -0500 |
commit | c00acf46deb18926931ba264510353cf22b98a79 (patch) | |
tree | 7b7105d3505cb13aa0474e0bd89b23d7b9f2b958 /drivers/net/wireless/ipw2100.c | |
parent | 4c3616cdda0632a3d0e39069765f9ea0e6bd093e (diff) |
netdev: ARRAY_SIZE() cleanups
Convert array size calculations to use ARRAY_SIZE().
Signed-off-by: Alejandro Martinez Ruiz <alex@flawedcode.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/wireless/ipw2100.c')
-rw-r--r-- | drivers/net/wireless/ipw2100.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ipw2100.c b/drivers/net/wireless/ipw2100.c index fc6cdd8086c..dc3813b2644 100644 --- a/drivers/net/wireless/ipw2100.c +++ b/drivers/net/wireless/ipw2100.c | |||
@@ -6591,8 +6591,7 @@ static const long ipw2100_frequencies[] = { | |||
6591 | 2472, 2484 | 6591 | 2472, 2484 |
6592 | }; | 6592 | }; |
6593 | 6593 | ||
6594 | #define FREQ_COUNT (sizeof(ipw2100_frequencies) / \ | 6594 | #define FREQ_COUNT ARRAY_SIZE(ipw2100_frequencies) |
6595 | sizeof(ipw2100_frequencies[0])) | ||
6596 | 6595 | ||
6597 | static const long ipw2100_rates_11b[] = { | 6596 | static const long ipw2100_rates_11b[] = { |
6598 | 1000000, | 6597 | 1000000, |