bcm63xx_enet: Use ARRAY_SIZE instead of open coding it
authorTobias Klauser <tklauser@distanz.ch>
Wed, 23 Apr 2014 17:42:50 +0000 (19:42 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Apr 2014 17:38:57 +0000 (13:38 -0400)
commit6afc0d7a85770abd282ebed41f0f35cde390d861
tree574e108ce7e48234ad7dc98e30ec9a2a77dc8d47
parent4366004d77278a90c18f92f7cb9ec0c264da563d
bcm63xx_enet: Use ARRAY_SIZE instead of open coding it

Use the ARRAY_SIZE macro to determine the number of entries in
bcm_enet_gstrings_stats.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bcm63xx_enet.c