projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5869ce
)
Get rid of unused variable warning in drivers/pci/hotplug/pci_hotplug_core.c
author
Linus Torvalds
<
[email protected]
>
Mon, 15 Oct 2007 16:07:58 +0000
(09:07 -0700)
committer
Linus Torvalds
<
[email protected]
>
Mon, 15 Oct 2007 16:07:58 +0000
(09:07 -0700)
Commit
5a7ad7f044941316dc98eda2a087a12a7a50649d
removed all uses of
'retval', but didn't remove the variable itself.
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/pci/hotplug/pci_hotplug_core.c
patch
|
blob
|
history
diff --git
a/drivers/pci/hotplug/pci_hotplug_core.c
b/drivers/pci/hotplug/pci_hotplug_core.c
index f0eba534f805bec0f38e9d12aa6a1bcccd2aebf2..01c351c176ac27267bc03cdfdcf6c2f0d64e1467 100644
(file)
--- 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;