Commit d67ce533 authored by Alexander Duyck's avatar Alexander Duyck Committed by Jeff Garzik

igb: fix parameter options

Currently there are items in the driver to support parameters, but there
are no parameters being added to the driver.
Signed-off-by: default avatarAlexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 733596be
...@@ -852,7 +852,6 @@ static int __devinit igb_probe(struct pci_dev *pdev, ...@@ -852,7 +852,6 @@ static int __devinit igb_probe(struct pci_dev *pdev,
struct e1000_hw *hw; struct e1000_hw *hw;
const struct e1000_info *ei = igb_info_tbl[ent->driver_data]; const struct e1000_info *ei = igb_info_tbl[ent->driver_data];
unsigned long mmio_start, mmio_len; unsigned long mmio_start, mmio_len;
static int cards_found;
int i, err, pci_using_dac; int i, err, pci_using_dac;
u16 eeprom_data = 0; u16 eeprom_data = 0;
u16 eeprom_apme_mask = IGB_EEPROM_APME; u16 eeprom_apme_mask = IGB_EEPROM_APME;
...@@ -945,8 +944,6 @@ static int __devinit igb_probe(struct pci_dev *pdev, ...@@ -945,8 +944,6 @@ static int __devinit igb_probe(struct pci_dev *pdev,
netdev->mem_start = mmio_start; netdev->mem_start = mmio_start;
netdev->mem_end = mmio_start + mmio_len; netdev->mem_end = mmio_start + mmio_len;
adapter->bd_number = cards_found;
/* PCI config space info */ /* PCI config space info */
hw->vendor_id = pdev->vendor; hw->vendor_id = pdev->vendor;
hw->device_id = pdev->device; hw->device_id = pdev->device;
...@@ -1131,7 +1128,6 @@ static int __devinit igb_probe(struct pci_dev *pdev, ...@@ -1131,7 +1128,6 @@ static int __devinit igb_probe(struct pci_dev *pdev,
adapter->msi_enabled ? "MSI" : "legacy", adapter->msi_enabled ? "MSI" : "legacy",
adapter->num_rx_queues, adapter->num_tx_queues); adapter->num_rx_queues, adapter->num_tx_queues);
cards_found++;
return 0; return 0;
err_register: err_register:
......
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