Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 300535
b: refs/heads/master
c: 93f7fab
h: refs/heads/master
i:
  300533: 5880a38
  300531: 3415572
  300527: 7fd31f9
v: v3
  • Loading branch information
Francois Romieu committed Apr 7, 2012
1 parent 0768127 commit b0ddd15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 03a2384e68f8cd464320c79c8c8c9f75f7172fa5
refs/heads/master: 93f7fab433606a0ee6153788213de2a822736322
5 changes: 1 addition & 4 deletions trunk/drivers/net/ethernet/atheros/atl1c/atl1c_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2307,8 +2307,7 @@ static int atl1c_request_irq(struct atl1c_adapter *adapter)
"Unable to allocate MSI interrupt Error: %d\n",
err);
adapter->have_msi = false;
} else
netdev->irq = pdev->irq;
}

if (!adapter->have_msi)
flags |= IRQF_SHARED;
Expand Down Expand Up @@ -2616,7 +2615,6 @@ static int atl1c_init_netdev(struct net_device *netdev, struct pci_dev *pdev)
SET_NETDEV_DEV(netdev, &pdev->dev);
pci_set_drvdata(pdev, netdev);

netdev->irq = pdev->irq;
netdev->netdev_ops = &atl1c_netdev_ops;
netdev->watchdog_timeo = AT_TX_WATCHDOG;
atl1c_set_ethtool_ops(netdev);
Expand Down Expand Up @@ -2706,7 +2704,6 @@ static int __devinit atl1c_probe(struct pci_dev *pdev,
dev_err(&pdev->dev, "cannot map device registers\n");
goto err_ioremap;
}
netdev->base_addr = (unsigned long)adapter->hw.hw_addr;

/* init mii data */
adapter->mii.dev = netdev;
Expand Down

0 comments on commit b0ddd15

Please sign in to comment.