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>
This commit is contained in:
parent
1a5904342c
commit
c573972c11
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue