drivers/net/: all drivers/net/ cleanup with ARRAY_SIZE
Signed-off-by: Denis Cheng <crquan@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:

committed by
David S. Miller

parent
10d024c1b2
commit
ff8ac60948
@@ -1893,7 +1893,7 @@ static const iw_handler wl3501_handler[] = {
|
||||
};
|
||||
|
||||
static const struct iw_handler_def wl3501_handler_def = {
|
||||
.num_standard = sizeof(wl3501_handler) / sizeof(iw_handler),
|
||||
.num_standard = ARRAY_SIZE(wl3501_handler),
|
||||
.standard = (iw_handler *)wl3501_handler,
|
||||
.get_wireless_stats = wl3501_get_wireless_stats,
|
||||
};
|
||||
|
Reference in New Issue
Block a user