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

Commit ffafa60d authored by Andy Gospodarek's avatar Andy Gospodarek Committed by David S. Miller
Browse files

ixgbe: remove unnecessary call to device_init_wakeup



Calls to device_init_wakeup should not be necessary in drivers that use
device_set_wakeup_enable since pci_pm_init will set the can_wakeup flag
for the device when initialized.

Signed-off-by: default avatarAndy Gospodarek <andy@greyhouse.net>
Acked-by: default avatarPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 60127865
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -5640,7 +5640,6 @@ static int __devinit ixgbe_probe(struct pci_dev *pdev,
		adapter->wol = 0;
		break;
	}
	device_init_wakeup(&adapter->pdev->dev, true);
	device_set_wakeup_enable(&adapter->pdev->dev, adapter->wol);

	/* pick up the PCI bus settings for reporting later */