diff options
author | Yinghai Lu <yinghai@kernel.org> | 2012-06-23 03:42:01 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-07-10 17:44:58 -0400 |
commit | e735a80bd57d6b04e1c8f30da762ed0c6af5ee6a (patch) | |
tree | 55b16098ff5fb40b847158b3d308f81b8d5f48fb /drivers/pci/hotplug/acpiphp_glue.c | |
parent | cfaf025112d3856637ff34a767ef785ef5cf2ca9 (diff) |
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.c | 3 |
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) | |||
391 | 391 | ||
392 | bridge->pci_bus = root->bus; | 392 | bridge->pci_bus = root->bus; |
393 | 393 | ||
394 | spin_lock_init(&bridge->res_lock); | ||
395 | |||
396 | init_bridge_misc(bridge); | 394 | init_bridge_misc(bridge); |
397 | } | 395 | } |
398 | 396 | ||
@@ -425,7 +423,6 @@ static void add_p2p_bridge(acpi_handle *handle) | |||
425 | * (which we access during module unload). | 423 | * (which we access during module unload). |
426 | */ | 424 | */ |
427 | get_device(&bridge->pci_bus->dev); | 425 | get_device(&bridge->pci_bus->dev); |
428 | spin_lock_init(&bridge->res_lock); | ||
429 | 426 | ||
430 | init_bridge_misc(bridge); | 427 | init_bridge_misc(bridge); |
431 | return; | 428 | return; |