Skip to content

Commit

Permalink
net: ethernet: sun: drop unused variable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Emilio López authored and David S. Miller committed May 23, 2013
1 parent 1a59043 commit c573972
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/ethernet/sun/sunbmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c573972

Please sign in to comment.