Skip to content

Commit c573972

Browse files
elopezdavem330
authored andcommitted
net: ethernet: sun: drop unused variable
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>
1 parent 1a59043 commit c573972

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/net/ethernet/sun/sunbmac.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,6 @@ static void bigmac_set_multicast(struct net_device *dev)
995995
struct bigmac *bp = netdev_priv(dev);
996996
void __iomem *bregs = bp->bregs;
997997
struct netdev_hw_addr *ha;
998-
int i;
999998
u32 tmp, crc;
1000999

10011000
/* Disable the receiver. The bit self-clears when

0 commit comments

Comments
 (0)