]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/a2065.c
ext3: Fix duplicate entries returned from getdents() system call
[linux-2.6-omap-h63xx.git] / drivers / net / a2065.c
index 6c5719ae8ccaac3fdaac37fe06fc0aa630c83c89..9c0837435b68dd83b88fca7355308796c2257e2e 100644 (file)
@@ -475,16 +475,12 @@ static irqreturn_t lance_interrupt (int irq, void *dev_id)
        return IRQ_HANDLED;
 }
 
-struct net_device *last_dev;
-
 static int lance_open (struct net_device *dev)
 {
        struct lance_private *lp = netdev_priv(dev);
        volatile struct lance_regs *ll = lp->ll;
        int ret;
 
-       last_dev = dev;
-
        /* Stop the Lance */
        ll->rap = LE_CSR0;
        ll->rdp = LE_C0_STOP;