pcmcia: pcnet_cs.c removing useless condition
authorJaswinder Singh Rajput <jaswinder@kernel.org>
Sat, 12 Sep 2009 09:08:49 +0000 (09:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Sep 2009 20:59:59 +0000 (13:59 -0700)
commit03b88a66c040acb4b770221ca24a609527b47fc5
tree0cae69a39246db005e048960d74c1e273434d20a
parent44c852ead55b7450c8cff0dc90a3d48310300210
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>
drivers/net/pcmcia/pcnet_cs.c