drivers/net/bnx2x: use ARRAY_SIZE macro in bnx2x_main.c
authorNikitas Angelinas <nikitasangelinas@gmail.com>
Wed, 8 Sep 2010 11:20:37 +0000 (11:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Sep 2010 04:56:01 +0000 (21:56 -0700)
commitcbd9da7be869f676afc204e1a664163778c770bd
treeeee8a43469e77e882e2a388351693eccb0490ef4
parentdc99839cf600518ed1f20e47522fe7f629387078
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: Nikitas Angelinas <nikitasangelinas@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x/bnx2x_main.c