Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab868256 authored by Eliezer Tamir's avatar Eliezer Tamir Committed by Jeff Kirsher
Browse files

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: default avatarEliezer Tamir <eliezer.tamir@linux.intel.com>
Tested-by: default avatarPhil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 42f3c43b
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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;