netdev: use ARRAY_SIZE() instead of sizeof(array) / ETH_GSTRING_LEN
authorAlejandro Martinez Ruiz <alex@flawedcode.org>
Thu, 18 Oct 2007 08:00:15 +0000 (10:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:03:36 +0000 (15:03 -0800)
Using ARRAY_SIZE() on arrays of the form array[][K] makes it unnecessary
to know the value of K when checking its size.

Signed-off-by: Alejandro Martinez Ruiz <alex@flawedcode.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>

No differences found