WSL2-Linux-Kernel/drivers/net/pcmcia
Jaswinder Singh Rajput 03b88a66c0 pcmcia: pcnet_cs.c removing useless condition
'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>
2009-09-22 13:59:59 -07:00
..
3c574_cs.c netdev: Convert MDIO ioctl implementation to use struct mii_ioctl_data 2009-09-03 20:02:12 -07:00
3c589_cs.c netdev: convert pcmcia drivers to netdev_tx_t 2009-09-01 01:13:34 -07:00
Kconfig [netdrvr] ibmtr: PCMCIA IBMTR is ok on 64bit 2008-10-16 05:40:16 -04:00
Makefile
axnet_cs.c netdev: Convert MDIO ioctl implementation to use struct mii_ioctl_data 2009-09-03 20:02:12 -07:00
com20020_cs.c netdevice: safe convert to netdev_priv() #part-2 2008-11-12 23:38:14 -08:00
fmvj18x_cs.c netdev: convert pcmcia drivers to netdev_tx_t 2009-09-01 01:13:34 -07:00
ibmtr_cs.c Remove multiple KERN_ prefixes from printk formats 2009-07-08 10:30:03 -07:00
nmclan_cs.c netdev: convert pcmcia drivers to netdev_tx_t 2009-09-01 01:13:34 -07:00
pcnet_cs.c pcmcia: pcnet_cs.c removing useless condition 2009-09-22 13:59:59 -07:00
smc91c92_cs.c netdev: convert pcmcia drivers to netdev_tx_t 2009-09-01 01:13:34 -07:00
xirc2ps_cs.c netdev: Convert MDIO ioctl implementation to use struct mii_ioctl_data 2009-09-03 20:02:12 -07:00