Commit e735a80b authored by Yinghai Lu's avatar Yinghai Lu Committed by Bjorn Helgaas

PCI: acpiphp: remove unused res_lock

res_lock is never used, so remove it.
Signed-off-by: default avatarYinghai Lu <yinghai@kernel.org>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent cfaf0251
...@@ -89,8 +89,6 @@ struct acpiphp_bridge { ...@@ -89,8 +89,6 @@ struct acpiphp_bridge {
/* PCI-to-PCI bridge device */ /* PCI-to-PCI bridge device */
struct pci_dev *pci_dev; struct pci_dev *pci_dev;
spinlock_t res_lock;
}; };
......
...@@ -391,8 +391,6 @@ static void add_host_bridge(acpi_handle *handle) ...@@ -391,8 +391,6 @@ static void add_host_bridge(acpi_handle *handle)
bridge->pci_bus = root->bus; bridge->pci_bus = root->bus;
spin_lock_init(&bridge->res_lock);
init_bridge_misc(bridge); init_bridge_misc(bridge);
} }
...@@ -425,7 +423,6 @@ static void add_p2p_bridge(acpi_handle *handle) ...@@ -425,7 +423,6 @@ static void add_p2p_bridge(acpi_handle *handle)
* (which we access during module unload). * (which we access during module unload).
*/ */
get_device(&bridge->pci_bus->dev); get_device(&bridge->pci_bus->dev);
spin_lock_init(&bridge->res_lock);
init_bridge_misc(bridge); init_bridge_misc(bridge);
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment