projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PCI: rpaphp: match up alloc and free in same routine
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
pci
/
hotplug
/
rpaphp_slot.c
diff --git
a/drivers/pci/hotplug/rpaphp_slot.c
b/drivers/pci/hotplug/rpaphp_slot.c
index 907f1301f84afbc456e39d014d1dae2cde3cd6d0..dd1e275a82ce5ade1d8157e2862d834e45e1443d 100644
(file)
--- a/
drivers/pci/hotplug/rpaphp_slot.c
+++ b/
drivers/pci/hotplug/rpaphp_slot.c
@@
-184,7
+184,6
@@
int rpaphp_register_slot(struct slot *slot)
sysfs_fail:
pci_hp_deregister(php_slot);
register_fail:
- rpaphp_release_slot(php_slot);
return retval;
}