Skip to content
Commit cbd9da7b authored by Nikitas Angelinas's avatar Nikitas Angelinas Committed by David S. Miller
Browse files

drivers/net/bnx2x: use ARRAY_SIZE macro in bnx2x_main.c



Replace sizeof(bnx2x_parity_mask)/(sizeof(bnx2x_parity_mask[0]) with
ARRAY_SIZE(bnx2x_parity_mask) in drivers/net/bnx2x/bnx2x_main.c

Signed-off-by: default avatarNikitas Angelinas <nikitasangelinas@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dc99839c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment