Commit 9f083505 authored by Jeff Garzik's avatar Jeff Garzik

[netdrvr de2104x] remove duplicate and oops-able init_timer call

Spotted by Bill Irwin.
parent ec1acf6c
...@@ -2014,7 +2014,6 @@ static int __init de_init_one (struct pci_dev *pdev, ...@@ -2014,7 +2014,6 @@ static int __init de_init_one (struct pci_dev *pdev,
dev->watchdog_timeo = TX_TIMEOUT; dev->watchdog_timeo = TX_TIMEOUT;
dev->irq = pdev->irq; dev->irq = pdev->irq;
init_timer(&de->media_timer);
de = dev->priv; de = dev->priv;
de->de21040 = ent->driver_data == 0 ? 1 : 0; de->de21040 = ent->driver_data == 0 ? 1 : 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment