net/cpsw: optimize the for_each_slave_macro()
authorSebastian Siewior <bigeasy@linutronix.de>
Wed, 24 Apr 2013 08:48:24 +0000 (08:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Apr 2013 08:12:29 +0000 (04:12 -0400)
commit6e6ceaedb5901c7ebd23e5222726dab5362938bd
tree39730834b9fb17999018c1aba50e6471754774c4
parentd1bd9acfa3419dc9d5c32589b34a370ca6ae100e
net/cpsw: optimize the for_each_slave_macro()

text    data     bss     dec     hex filename
15530      92       4   15626    3d0a cpsw.o.before
15478      92       4   15574    3cd6 cpsw.o.after

52 bytes smaller, 13 for each invocation.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c