From: Alejandro Martinez Ruiz Date: Thu, 18 Oct 2007 08:00:15 +0000 (+0200) Subject: netdev: use ARRAY_SIZE() instead of sizeof(array) / ETH_GSTRING_LEN X-Git-Tag: v2.6.25-rc1~1162^2~633 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c3616cdda0632a3d0e39069765f9ea0e6bd093e;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed