Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4271e0f7e12bdbbd7ce131187aaae2ba5233a309 Commit: 4271e0f7e12bdbbd7ce131187aaae2ba5233a309 Parent: b5869ce7f68b233ceb81465a7644be0d9a5f3dbb Author: Linus Torvalds <[EMAIL PROTECTED]> AuthorDate: Mon Oct 15 09:07:58 2007 -0700 Committer: Linus Torvalds <[EMAIL PROTECTED]> CommitDate: Mon Oct 15 09:07:58 2007 -0700
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 <[EMAIL PROTECTED]> --- 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 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; - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html