mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-17 10:04:14 +08:00
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>
This commit is contained in:
parent
42f3c43bf6
commit
ab868256f8
@ -7169,11 +7169,6 @@ static int __devinit ixgbe_probe(struct pci_dev *pdev,
|
|||||||
goto err_ioremap;
|
goto err_ioremap;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = 1; i <= 5; i++) {
|
|
||||||
if (pci_resource_len(pdev, i) == 0)
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
netdev->netdev_ops = &ixgbe_netdev_ops;
|
netdev->netdev_ops = &ixgbe_netdev_ops;
|
||||||
ixgbe_set_ethtool_ops(netdev);
|
ixgbe_set_ethtool_ops(netdev);
|
||||||
netdev->watchdog_timeo = 5 * HZ;
|
netdev->watchdog_timeo = 5 * HZ;
|
||||||
|
Loading…
Reference in New Issue
Block a user