tulip: cleanup by using ARRAY_SIZE()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 23 Jan 2014 08:26:37 +0000 (11:26 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Jan 2014 21:28:29 +0000 (13:28 -0800)
In this situation then ARRAY_SIZE() and sizeof() are the same, but we're
really dealing with array indexes and not byte offsets so ARRAY_SIZE()
is cleaner.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found