forked from Minki/linux
pcmcia/3c574_cs: fix 'shadow variable' warning
Fixing: CHECK drivers/net/pcmcia/3c574_cs.c drivers/net/pcmcia/3c574_cs.c:695:7: warning: symbol 'i' shadows an earlier one drivers/net/pcmcia/3c574_cs.c:636:6: originally declared here Signed-off-by: Richard Knutson <ricknu-0@student.ltu.se> Acked-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
52debb0623
commit
1569d9e89a
@ -696,7 +696,7 @@ static void tc574_reset(struct net_device *dev)
|
||||
mdio_write(ioaddr, lp->phys, 4, lp->advertising);
|
||||
if (!auto_polarity) {
|
||||
/* works for TDK 78Q2120 series MII's */
|
||||
int i = mdio_read(ioaddr, lp->phys, 16) | 0x20;
|
||||
i = mdio_read(ioaddr, lp->phys, 16) | 0x20;
|
||||
mdio_write(ioaddr, lp->phys, 16, i);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user