X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fpci%2Fhotplug%2Fpci_hotplug_core.c;h=01c351c176ac27267bc03cdfdcf6c2f0d64e1467;hb=4271e0f7e12bdbbd7ce131187aaae2ba5233a309;hp=f0eba534f805bec0f38e9d12aa6a1bcccd2aebf2;hpb=5a7ad7f044941316dc98eda2a087a12a7a50649d;p=linux-2.6 diff --git a/drivers/pci/hotplug/pci_hotplug_core.c b/drivers/pci/hotplug/pci_hotplug_core.c index f0eba534f8..01c351c176 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) int __must_check pci_hp_change_slot_info(struct hotplug_slot *slot, struct hotplug_slot_info *info) { - int retval; - if ((slot == NULL) || (info == NULL)) return -ENODEV;