]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/eepro.c
[IFB]: Use rtnl_link API
[linux-2.6-omap-h63xx.git] / drivers / net / eepro.c
index a4eb0dc99ecffe42c92b87a1bacac5c72234caa1..47680237f783f04b05a5c233012b6c48d4d0d491 100644 (file)
@@ -1126,7 +1126,7 @@ static void eepro_tx_timeout (struct net_device *dev)
        printk (KERN_ERR "%s: transmit timed out, %s?\n", dev->name,
                "network cable problem");
        /* This is not a duplicate. One message for the console,
-          one for the the log file  */
+          one for the log file  */
        printk (KERN_DEBUG "%s: transmit timed out, %s?\n", dev->name,
                "network cable problem");
        eepro_complete_selreset(ioaddr);
@@ -1591,7 +1591,6 @@ eepro_rx(struct net_device *dev)
 
                                break;
                        }
-                       skb->dev = dev;
                        skb_reserve(skb,2);
 
                        if (lp->version == LAN595)
@@ -1827,7 +1826,7 @@ int __init init_module(void)
        return n_eepro ? 0 : -ENODEV;
 }
 
-void
+void __exit
 cleanup_module(void)
 {
        int i;