]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/eexpress.c
Add missing USRobotics Wireless Adapter (Model 5423) id into zd1211rw
[linux-2.6-omap-h63xx.git] / drivers / net / eexpress.c
index 05ca730fe81ed60cf8e83c652583445c09fcf7dc..3868b8031266bfea0b84648f3e50acc65309f636 100644 (file)
@@ -707,13 +707,6 @@ static int eexp_xmit(struct sk_buff *buf, struct net_device *dev)
        return 0;
 }
 
-/*
- * Handle an EtherExpress interrupt
- * If we've finished initializing, start the RU and CU up.
- * If we've already started, reap tx buffers, handle any received packets,
- * check to make sure we've not become wedged.
- */
-
 /*
  * Handle an EtherExpress interrupt
  * If we've finished initializing, start the RU and CU up.
@@ -796,13 +789,6 @@ static irqreturn_t eexp_irq(int irq, void *dev_info)
        unsigned short ioaddr,status,ack_cmd;
        unsigned short old_read_ptr, old_write_ptr;
 
-       if (dev==NULL)
-       {
-               printk(KERN_WARNING "eexpress: irq %d for unknown device\n",
-                      irq);
-               return IRQ_NONE;
-       }
-
        lp = netdev_priv(dev);
        ioaddr = dev->base_addr;
 
@@ -1726,7 +1712,7 @@ int __init init_module(void)
        return -ENXIO;
 }
 
-void cleanup_module(void)
+void __exit cleanup_module(void)
 {
        int this_dev;