summaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/acpiphp_glue.c
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2012-06-23 09:42:01 +0200
committerBjorn Helgaas <bhelgaas@google.com>2012-07-10 23:44:58 +0200
commite735a80bd57d6b04e1c8f30da762ed0c6af5ee6a (patch)
tree55b16098ff5fb40b847158b3d308f81b8d5f48fb /drivers/pci/hotplug/acpiphp_glue.c
parentLinux 3.5-rc2 (diff)
downloadlinux-e735a80bd57d6b04e1c8f30da762ed0c6af5ee6a.tar.xz
linux-e735a80bd57d6b04e1c8f30da762ed0c6af5ee6a.zip
PCI: acpiphp: remove unused res_lock
res_lock is never used, so remove it. Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/hotplug/acpiphp_glue.c')
-rw-r--r--drivers/pci/hotplug/acpiphp_glue.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/pci/hotplug/acpiphp_glue.c b/drivers/pci/hotplug/acpiphp_glue.c
index 806c44fa645a..7dc8dd00135a 100644
--- a/drivers/pci/hotplug/acpiphp_glue.c
+++ b/drivers/pci/hotplug/acpiphp_glue.c
@@ -391,8 +391,6 @@ static void add_host_bridge(acpi_handle *handle)
bridge->pci_bus = root->bus;
- spin_lock_init(&bridge->res_lock);
-
init_bridge_misc(bridge);
}
@@ -425,7 +423,6 @@ static void add_p2p_bridge(acpi_handle *handle)
* (which we access during module unload).
*/
get_device(&bridge->pci_bus->dev);
- spin_lock_init(&bridge->res_lock);
init_bridge_misc(bridge);
return;