summaryrefslogtreecommitdiff
path: root/drivers/net/tulip
diff options
context:
space:
mode:
authorAlejandro Martinez Ruiz <alex@flawedcode.org>2007-10-18 08:00:15 (GMT)
committerDavid S. Miller <davem@davemloft.net>2008-01-28 23:03:36 (GMT)
commit4c3616cdda0632a3d0e39069765f9ea0e6bd093e (patch)
treed913f63996d479394bcdabd21ebfbdbe16bd1844 /drivers/net/tulip
parentf59d9782751bf1a2c51e7e1e9f614ffec35fb52e (diff)
downloadlinux-fsl-qoriq-4c3616cdda0632a3d0e39069765f9ea0e6bd093e.tar.xz
netdev: use ARRAY_SIZE() instead of sizeof(array) / ETH_GSTRING_LEN
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>
Diffstat (limited to 'drivers/net/tulip')
0 files changed, 0 insertions, 0 deletions