/*
  * Recieve one CAN frame from the hardware
  *
- * This works like the core of a NAPI function, but is intended to be called
- * from workqueue context instead. This driver already needs a workqueue to
- * process control messages, so we use the workqueue instead of using NAPI.
- * This was done to simplify locking.
- *
  * CONTEXT: must be called from user context
  */
 static int ican3_recv_skb(struct ican3_dev *mod)
  * Reset an ICAN module to its power-on state
  *
  * CONTEXT: no network device registered
- * LOCKING: work function disabled
  */
 static int ican3_reset_module(struct ican3_dev *mod)
 {
        /* disable interrupts so no more work is scheduled */
        iowrite8(1 << mod->num, &mod->ctrl->int_disable);
 
-       /* flush any pending work */
-       flush_scheduled_work();
-
        /* the first unallocated page in the DPM is #9 */
        mod->free_page = DPM_FREE_START;
 
 
 
        sh_mdio_release(ndev);
        unregister_netdev(ndev);
-       flush_scheduled_work();
        pm_runtime_disable(&pdev->dev);
        free_netdev(ndev);
        platform_set_drvdata(pdev, NULL);
 
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/spinlock.h>
-#include <linux/workqueue.h>
 #include <linux/netdevice.h>
 #include <linux/phy.h>
 
 
 
        strncpy(buf, dev->name, IFNAMSIZ);
 
-       flush_scheduled_work();
-
        /* in 2.6 will call stop() if device is up */
        unregister_netdev(dev);