Skip to content

Commit

Permalink
ixgbe: remove old init remnant
Browse files Browse the repository at this point in the history
Remove a for loop that does nothing in ixgbe_probe().
This is a remnant from when we had IO bars (compare to the ixgb code).

Signed-off-by: Eliezer Tamir <eliezer.tamir@linux.intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
  • Loading branch information
Eliezer Tamir authored and Jeff Kirsher committed Sep 5, 2012
1 parent 42f3c43 commit ab86825
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -7169,11 +7169,6 @@ static int __devinit ixgbe_probe(struct pci_dev *pdev,
goto err_ioremap;
}

for (i = 1; i <= 5; i++) {
if (pci_resource_len(pdev, i) == 0)
continue;
}

netdev->netdev_ops = &ixgbe_netdev_ops;
ixgbe_set_ethtool_ops(netdev);
netdev->watchdog_timeo = 5 * HZ;
Expand Down

0 comments on commit ab86825

Please sign in to comment.