diff options
author | Eliezer Tamir <eliezer.tamir@linux.intel.com> | 2012-08-14 02:14:33 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2012-09-04 23:17:17 -0700 |
commit | ab868256f8d6095e7200d928fcc054b66d0f13a3 (patch) | |
tree | 3411974723ed8d14a043f916470e601b196285f8 /drivers/net/ethernet/intel | |
parent | 42f3c43bf6f2774172b417b629f6e7ccdc794cec (diff) | |
download | linux-stable-ab868256f8d6095e7200d928fcc054b66d0f13a3.tar.gz linux-stable-ab868256f8d6095e7200d928fcc054b66d0f13a3.tar.bz2 linux-stable-ab868256f8d6095e7200d928fcc054b66d0f13a3.zip |
ixgbe: remove old init remnant
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>
Diffstat (limited to 'drivers/net/ethernet/intel')
-rw-r--r-- | drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c index fa0d6e1561c1..1cbb34f507c9 100644 --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c @@ -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; |