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-Url: https://git.stricted.de/?a=commitdiff_plain;h=2db84a8699db45c1c62dccdad61323eab56c111e;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [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 480947f4e01e..842e26c45557 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