commit | 4c3616cdda0632a3d0e39069765f9ea0e6bd093e | [log] [tgz] |
---|---|---|
author | Alejandro Martinez Ruiz <alex@flawedcode.org> | Thu Oct 18 10:00:15 2007 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 28 15:03:36 2008 -0800 |
tree | d913f63996d479394bcdabd21ebfbdbe16bd1844 | |
parent | f59d9782751bf1a2c51e7e1e9f614ffec35fb52e [diff] |
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>