PCI: pciehp: Remove useless pciehp_get_latch_status() calls
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 7 Sep 2016 22:50:30 +0000 (17:50 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 14 Sep 2016 19:25:05 +0000 (14:25 -0500)
commit29a654e59f3698d70d85e289fc5ce7261493bba2
treef2e4df789502b758c1bbd0ee832eda21a48812ec
parent6e49b304e379f93c8aa7ebb164628aec1209f371
PCI: pciehp: Remove useless pciehp_get_latch_status() calls

Long ago, we updated a "switch_save" field based on the latch status.  But
switch_save was unused, and ed6cbcf2ac70 ("[PATCH] pciehp: miscellaneous
cleanups") removed it.

We no longer use the latch status, so remove calls to
pciehp_get_latch_status().  No functional change intended.

Tested-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/pci/hotplug/pciehp_ctrl.c