net: ethernet: sun: drop unused variable
authorEmilio López <emilio@elopez.com.ar>
Wed, 22 May 2013 13:57:37 +0000 (13:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 May 2013 06:42:45 +0000 (23:42 -0700)
Commit bfd428d ("net: ethernet: sun: initialize variables directly")
dropped the only loop that was using i but did not remove the actual
variable, therefore causing a warning when building. This patch drops
the now redundant line.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Emilio López <emilio@elopez.com.ar>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/sunbmac.c

index 054975939a184cc48035009420e8d1663871b0f9..85d3b6bec16047253ae8c123025a1243ae1fd4e7 100644 (file)
@@ -995,7 +995,6 @@ static void bigmac_set_multicast(struct net_device *dev)
        struct bigmac *bp = netdev_priv(dev);
        void __iomem *bregs = bp->bregs;
        struct netdev_hw_addr *ha;
-       int i;
        u32 tmp, crc;
 
        /* Disable the receiver.  The bit self-clears when