mirror of https://gitee.com/openkylin/linux.git
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
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue