Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 103240
b: refs/heads/master
c: d67ce53
h: refs/heads/master
v: v3
  • Loading branch information
Alexander Duyck authored and Jeff Garzik committed Jul 4, 2008
1 parent 039187b commit a6bb3d7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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: 733596bea6ba7ea7949720b86794eda4e1b793d1
refs/heads/master: d67ce5338c7c71313f01e508d893bb8104ce459a
4 changes: 0 additions & 4 deletions trunk/drivers/net/igb/igb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,6 @@ static int __devinit igb_probe(struct pci_dev *pdev,
struct e1000_hw *hw;
const struct e1000_info *ei = igb_info_tbl[ent->driver_data];
unsigned long mmio_start, mmio_len;
static int cards_found;
int i, err, pci_using_dac;
u16 eeprom_data = 0;
u16 eeprom_apme_mask = IGB_EEPROM_APME;
Expand Down Expand Up @@ -945,8 +944,6 @@ static int __devinit igb_probe(struct pci_dev *pdev,
netdev->mem_start = mmio_start;
netdev->mem_end = mmio_start + mmio_len;

adapter->bd_number = cards_found;

/* PCI config space info */
hw->vendor_id = pdev->vendor;
hw->device_id = pdev->device;
Expand Down Expand Up @@ -1131,7 +1128,6 @@ static int __devinit igb_probe(struct pci_dev *pdev,
adapter->msi_enabled ? "MSI" : "legacy",
adapter->num_rx_queues, adapter->num_tx_queues);

cards_found++;
return 0;

err_register:
Expand Down

0 comments on commit a6bb3d7

Please sign in to comment.