PCI: PM: Do not call platform_pci_power_manageable() unnecessarily
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 29 Sep 2021 18:15:06 +0000 (20:15 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 5 Oct 2021 13:38:05 +0000 (15:38 +0200)
commitfa1a25c51d02f153b49444aa872bee9da3c13ecf
tree18c98f4d1e7f541673066248022acbdb68d2b224
parent6407e5ecdc66cd9da760e751a7c092c87a683861
PCI: PM: Do not call platform_pci_power_manageable() unnecessarily

Drop two invocations of platform_pci_power_manageable() that are not
necessary, because the functions called when it returns 'true' do the
requisite "power manageable" checks themselves.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Ferry Toth <fntoth@gmail.com>
drivers/pci/pci.c