From: Robert P. J. Day Date: Tue, 17 Jul 2007 01:31:51 +0000 (-0700) Subject: [ATM]: [nicstar] Replace C code with call to ARRAY_SIZE() macro. X-Git-Tag: v2.6.23-rc1~496^2~16 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2db84a8699db45c1c62dccdad61323eab56c111e;p=linux-2.6 [ATM]: [nicstar] Replace C code with call to ARRAY_SIZE() macro. Signed-off-by: Robert P. J. Day Signed-off-by: chas williams Signed-off-by: David S. Miller --- diff --git a/drivers/atm/nicstarmac.c b/drivers/atm/nicstarmac.c index 480947f4e0..842e26c455 100644 --- a/drivers/atm/nicstarmac.c +++ b/drivers/atm/nicstarmac.c @@ -134,7 +134,7 @@ nicstar_read_eprom_status( virt_addr_t base ) /* Send read instruction */ val = NICSTAR_REG_READ( base, NICSTAR_REG_GENERAL_PURPOSE ) & 0xFFFFFFF0; - for (i=0; i