You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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
@@ -263,7 +263,7 @@ struct lance_addr {
|
||||
(highest byte stripped) */
|
||||
};
|
||||
|
||||
#define N_LANCE_ADDR (sizeof(lance_addr_list)/sizeof(*lance_addr_list))
|
||||
#define N_LANCE_ADDR ARRAY_SIZE(lance_addr_list)
|
||||
|
||||
|
||||
/* Definitions for the Lance */
|
||||
|
||||
Reference in New Issue
Block a user