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)
commit28f39ef6d802d2a5840582efecbf3c729b290e64
treee97175b32d9cbb93f3b4c518b4309bcad0d2c960
parent11c21a307d79ea5f6b6fc0d3dfdeda271e5e65f6
tulip: cleanup by using ARRAY_SIZE()

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>
drivers/net/ethernet/dec/tulip/media.c