jmr3927: do not call tc35815_killall().
No need to stop tc35815 before resetting the board. This fixes the build of tc35815 as a module. This also means there is no caller of tc35815_killall left, so remove that function also. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
committed by
Jeff Garzik
parent
db7ce76f6b
commit
c8d64f8a05
@ -1703,19 +1703,6 @@ static void tc35815_chip_init(struct net_device *dev)
|
||||
spin_unlock_irqrestore(&lp->lock, flags);
|
||||
}
|
||||
|
||||
/* XXX */
|
||||
void
|
||||
tc35815_killall(void)
|
||||
{
|
||||
struct net_device *dev;
|
||||
|
||||
for (dev = root_tc35815_dev; dev; dev = ((struct tc35815_local *)dev->priv)->next_module) {
|
||||
if (dev->flags&IFF_UP){
|
||||
dev->stop(dev);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static struct pci_driver tc35815_driver = {
|
||||
.name = TC35815_MODULE_NAME,
|
||||
.probe = tc35815_probe,
|
||||
|
Reference in New Issue
Block a user