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>

authored by Ralf Baechle and committed by Jeff Garzik c8d64f8a db7ce76f

-17
-4
arch/mips/jmr3927/rbhma3100/setup.c
··· 137 138 static inline void do_reset(void) 139 { 140 - #ifdef CONFIG_TC35815 141 - extern void tc35815_killall(void); 142 - tc35815_killall(); 143 - #endif 144 #if 1 /* Resetting PCI bus */ 145 jmr3927_ioc_reg_out(0, JMR3927_IOC_RESET_ADDR); 146 jmr3927_ioc_reg_out(JMR3927_IOC_RESET_PCI, JMR3927_IOC_RESET_ADDR);
··· 137 138 static inline void do_reset(void) 139 { 140 #if 1 /* Resetting PCI bus */ 141 jmr3927_ioc_reg_out(0, JMR3927_IOC_RESET_ADDR); 142 jmr3927_ioc_reg_out(JMR3927_IOC_RESET_PCI, JMR3927_IOC_RESET_ADDR);
-13
drivers/net/tc35815.c
··· 1703 spin_unlock_irqrestore(&lp->lock, flags); 1704 } 1705 1706 - /* XXX */ 1707 - void 1708 - tc35815_killall(void) 1709 - { 1710 - struct net_device *dev; 1711 - 1712 - for (dev = root_tc35815_dev; dev; dev = ((struct tc35815_local *)dev->priv)->next_module) { 1713 - if (dev->flags&IFF_UP){ 1714 - dev->stop(dev); 1715 - } 1716 - } 1717 - } 1718 - 1719 static struct pci_driver tc35815_driver = { 1720 .name = TC35815_MODULE_NAME, 1721 .probe = tc35815_probe,
··· 1703 spin_unlock_irqrestore(&lp->lock, flags); 1704 } 1705 1706 static struct pci_driver tc35815_driver = { 1707 .name = TC35815_MODULE_NAME, 1708 .probe = tc35815_probe,