linux_old1/drivers/net/ethernet/icplus
Patrick Kelle d7d75960ea icplus: mdio_write(), remove unnecessary for loop
At this point the variable j is always set to 7 and the code within
the loop has to run only once anyway.

As suggested by David Miller:
"You can simply this even further since p[7] is what is used here,
and this means len is one, the inner loop therefore executes only
once, and the p[7].field value is not used (it's zero in the table)
and the write to it is completely thrown away."

Signed-off-by: Patrick Kelle <patrick.kelle81@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-12-01 12:54:46 -05:00
..
Kconfig MII: fix Kconfig dependencies for MII 2011-09-15 15:49:08 -04:00
Makefile ipg: Move the IC Plus driver 2011-08-12 12:37:35 -07:00
ipg.c icplus: mdio_write(), remove unnecessary for loop 2011-12-01 12:54:46 -05:00
ipg.h ipg: Move the IC Plus driver 2011-08-12 12:37:35 -07:00