aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pci/hotplug/pci_hotplug_core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pci/hotplug/pci_hotplug_core.c b/drivers/pci/hotplug/pci_hotplug_core.c
index f0eba534f805..01c351c176ac 100644
--- a/drivers/pci/hotplug/pci_hotplug_core.c
+++ b/drivers/pci/hotplug/pci_hotplug_core.c
@@ -689,8 +689,6 @@ int pci_hp_deregister (struct hotplug_slot *slot)
689int __must_check pci_hp_change_slot_info(struct hotplug_slot *slot, 689int __must_check pci_hp_change_slot_info(struct hotplug_slot *slot,
690 struct hotplug_slot_info *info) 690 struct hotplug_slot_info *info)
691{ 691{
692 int retval;
693
694 if ((slot == NULL) || (info == NULL)) 692 if ((slot == NULL) || (info == NULL))
695 return -ENODEV; 693 return -ENODEV;
696 694