Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c573972c authored by Emilio López's avatar Emilio López Committed by David S. Miller
Browse files

net: ethernet: sun: drop unused variable



Commit bfd428da ("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: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarEmilio López <emilio@elopez.com.ar>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1a590434
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -995,7 +995,6 @@ static void bigmac_set_multicast(struct net_device *dev)
	struct bigmac *bp = netdev_priv(dev);
	struct bigmac *bp = netdev_priv(dev);
	void __iomem *bregs = bp->bregs;
	void __iomem *bregs = bp->bregs;
	struct netdev_hw_addr *ha;
	struct netdev_hw_addr *ha;
	int i;
	u32 tmp, crc;
	u32 tmp, crc;


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