From 289be63c52e1de35620f5c733e3c17cb556f7ebe Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Mon, 15 Oct 2007 09:07:58 -0700 Subject: [PATCH] --- yaml --- r: 69146 b: refs/heads/master c: 4271e0f7e12bdbbd7ce131187aaae2ba5233a309 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/pci/hotplug/pci_hotplug_core.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 750c917e321b..cd45072fd3eb 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b5869ce7f68b233ceb81465a7644be0d9a5f3dbb +refs/heads/master: 4271e0f7e12bdbbd7ce131187aaae2ba5233a309 diff --git a/trunk/drivers/pci/hotplug/pci_hotplug_core.c b/trunk/drivers/pci/hotplug/pci_hotplug_core.c index f0eba534f805..01c351c176ac 100644 --- a/trunk/drivers/pci/hotplug/pci_hotplug_core.c +++ b/trunk/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;