aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/igb/igb_main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c
index e9acc61dace2..d8bee212d61f 100644
--- a/drivers/net/igb/igb_main.c
+++ b/drivers/net/igb/igb_main.c
@@ -852,7 +852,6 @@ static int __devinit igb_probe(struct pci_dev *pdev,
852 struct e1000_hw *hw; 852 struct e1000_hw *hw;
853 const struct e1000_info *ei = igb_info_tbl[ent->driver_data]; 853 const struct e1000_info *ei = igb_info_tbl[ent->driver_data];
854 unsigned long mmio_start, mmio_len; 854 unsigned long mmio_start, mmio_len;
855 static int cards_found;
856 int i, err, pci_using_dac; 855 int i, err, pci_using_dac;
857 u16 eeprom_data = 0; 856 u16 eeprom_data = 0;
858 u16 eeprom_apme_mask = IGB_EEPROM_APME; 857 u16 eeprom_apme_mask = IGB_EEPROM_APME;
@@ -945,8 +944,6 @@ static int __devinit igb_probe(struct pci_dev *pdev,
945 netdev->mem_start = mmio_start; 944 netdev->mem_start = mmio_start;
946 netdev->mem_end = mmio_start + mmio_len; 945 netdev->mem_end = mmio_start + mmio_len;
947 946
948 adapter->bd_number = cards_found;
949
950 /* PCI config space info */ 947 /* PCI config space info */
951 hw->vendor_id = pdev->vendor; 948 hw->vendor_id = pdev->vendor;
952 hw->device_id = pdev->device; 949 hw->device_id = pdev->device;
@@ -1131,7 +1128,6 @@ static int __devinit igb_probe(struct pci_dev *pdev,
1131 adapter->msi_enabled ? "MSI" : "legacy", 1128 adapter->msi_enabled ? "MSI" : "legacy",
1132 adapter->num_rx_queues, adapter->num_tx_queues); 1129 adapter->num_rx_queues, adapter->num_tx_queues);
1133 1130
1134 cards_found++;
1135 return 0; 1131 return 0;
1136 1132
1137err_register: 1133err_register: