diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2009-01-13 08:44:19 -0500 |
---|---|---|
committer | Jesse Barnes <jbarnes@hobbes.lan> | 2009-03-19 22:29:23 -0400 |
commit | 0516c8bcd25293f438573101c439ce25a18916ad (patch) | |
tree | 00e0e113810e565c9b234f9528e84b0d061c5413 /drivers/pci/hotplug/pciehp_acpi.c | |
parent | 87d2e2ecf6026efa64b01f7f71802b20da736d35 (diff) |
PCI: PCIe portdrv: Simplily probe callback of service drivers
The second argument of the ->probe() callback in
struct pcie_port_service_driver is unnecessary and never used.
Remove it.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/hotplug/pciehp_acpi.c')
-rw-r--r-- | drivers/pci/hotplug/pciehp_acpi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pci/hotplug/pciehp_acpi.c b/drivers/pci/hotplug/pciehp_acpi.c index 438d795f9fe3..ad8835758a17 100644 --- a/drivers/pci/hotplug/pciehp_acpi.c +++ b/drivers/pci/hotplug/pciehp_acpi.c | |||
@@ -82,8 +82,7 @@ static int __initdata acpi_slot_detected; | |||
82 | static struct list_head __initdata dummy_slots = LIST_HEAD_INIT(dummy_slots); | 82 | static struct list_head __initdata dummy_slots = LIST_HEAD_INIT(dummy_slots); |
83 | 83 | ||
84 | /* Dummy driver for dumplicate name detection */ | 84 | /* Dummy driver for dumplicate name detection */ |
85 | static int __init dummy_probe(struct pcie_device *dev, | 85 | static int __init dummy_probe(struct pcie_device *dev) |
86 | const struct pcie_port_service_id *id) | ||
87 | { | 86 | { |
88 | int pos; | 87 | int pos; |
89 | u32 slot_cap; | 88 | u32 slot_cap; |