03b88a66c0
'if (i < NR_INFO)' will only true if we breaks from 'for (i = 0; i < NR_INFO; i++)' So removing useless 'if (i < NR_INFO)' This also fixed following compilation warning : CC [M] drivers/net/pcmcia/pcnet_cs.o drivers/net/pcmcia/pcnet_cs.c: In function ‘get_hwinfo’: drivers/net/pcmcia/pcnet_cs.c:321: warning: ‘base’ may be used uninitialized in this function Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
3c574_cs.c | ||
3c589_cs.c | ||
axnet_cs.c | ||
com20020_cs.c | ||
fmvj18x_cs.c | ||
ibmtr_cs.c | ||
Kconfig | ||
Makefile | ||
nmclan_cs.c | ||
pcnet_cs.c | ||
smc91c92_cs.c | ||
xirc2ps_cs.c |