]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/pci/hotplug/rpaphp_slot.c
hotplug/rpaphp: Remove unused error path code
[linux-2.6-omap-h63xx.git] / drivers / pci / hotplug / rpaphp_slot.c
index 9b714ea93d207036fe9b51d6f3c2bbe0233c1c25..50884507b8be5005cd4767c65407edb7b4599db8 100644 (file)
@@ -147,9 +147,5 @@ int rpaphp_register_slot(struct slot *slot)
        list_add(&slot->rpaphp_slot_list, &rpaphp_slot_head);
        info("Slot [%s] registered\n", slot->name);
        return 0;
-
-sysfs_fail:
-       pci_hp_deregister(php_slot);
-       return retval;
 }