Skip to content

Commit

Permalink
Get rid of unused variable warning in drivers/pci/hotplug/pci_hotplug…
Browse files Browse the repository at this point in the history
…_core.c

Commit 5a7ad7f removed all uses of
'retval', but didn't remove the variable itself.

Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Linus Torvalds committed Oct 15, 2007
1 parent b5869ce commit 4271e0f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/pci/hotplug/pci_hotplug_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 4271e0f

Please sign in to comment.