From: Linus Torvalds Date: Mon, 15 Oct 2007 16:07:58 +0000 (-0700) Subject: Get rid of unused variable warning in drivers/pci/hotplug/pci_hotplug_core.c X-Git-Tag: v2.6.24-rc1~1288 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4271e0f7e12bdbbd7ce131187aaae2ba5233a309;p=platform%2Fkernel%2Flinux-3.10.git 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 --- diff --git a/drivers/pci/hotplug/pci_hotplug_core.c b/drivers/pci/hotplug/pci_hotplug_core.c index f0eba53..01c351c 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) 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;