 flush_scheduled_work(); 
e1000_remove(struct pci_dev *pdev){	struct net_device *netdev = pci_get_drvdata(pdev);	struct e1000_adapter *adapter = netdev_priv(netdev);	uint32_t ctrl_ext;	uint32_t manc, swsm;	flush_scheduled_work();#ifdef CONFIG_E1000_NAPI	int i;#endif	if(adapter->hw.mac_type >= e1000_82540 &&	   adapter->hw.media_type == e1000_media_type_copper) {		manc = E1000_READ_REG(&adapter->hw, MANC);		if(manc & E1000_MANC_SMBUS_EN) {			manc |= E1000_MANC_ARP_EN;			E1000_WRITE_REG(&adapter->hw, MANC, manc);		}	}	switch(adapter->hw.mac_type) {	case e1000_82571:	case e1000_82572:		ctrl_ext = E1000_READ_REG(&adapter->hw, CTRL_EXT);		E1000_WRITE_REG(&adapter->hw, CTRL_EXT,				ctrl_ext & ~E1000_CTRL_EXT_DRV_LOAD);		break;	case e1000_82573:		swsm = E1000_READ_REG(&adapter->hw, SWSM);		E1000_WRITE_REG(&adapter->hw, SWSM,				swsm & ~E1000_SWSM_DRV_LOAD);		break;	default:		break;	}	unregister_netdev(netdev);#ifdef CONFIG_E1000_NAPI	for (i = 0; i < adapter->num_queues; i++)		__dev_put(&adapter->polling_netdev[i]);#endif	if(!e1000_check_phy_reset_block(&adapter->hw))		e1000_phy_hw_reset(&adapter->hw);	kfree(adapter->tx_ring);	kfree(adapter->rx_ring);#ifdef CONFIG_E1000_NAPI	kfree(adapter->polling_netdev);#endif	iounmap(adapter->hw.hw_addr);	pci_release_regions(pdev);#ifdef CONFIG_E1000_MQ	free_percpu(adapter->cpu_netdev);	free_percpu(adapter->cpu_tx_ring);#endif	free_netdev(netdev);	pci_disable_device(pdev);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/be2b28ed3bb3dd3952e10fb72623b23c5d8b4795/e1000_main.c/clean/drivers/net/e1000/e1000_main.c