diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-15 12:07:58 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-15 12:07:58 -0400 |
commit | 4271e0f7e12bdbbd7ce131187aaae2ba5233a309 (patch) | |
tree | ef2a34addd2f6fb0a366ed0e4d0b7e887917df3d /drivers | |
parent | b5869ce7f68b233ceb81465a7644be0d9a5f3dbb (diff) |
Get rid of unused variable warning in drivers/pci/hotplug/pci_hotplug_core.c
Commit 5a7ad7f044941316dc98eda2a087a12a7a50649d removed all uses of
'retval', but didn't remove the variable itself.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/hotplug/pci_hotplug_core.c | 2 |
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) | |||
689 | int __must_check pci_hp_change_slot_info(struct hotplug_slot *slot, | 689 | int __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 | ||