Messages in this thread Patch in this message |  | | | Date | Thu, 22 Sep 2005 00:48:02 -0700 | | From | Greg KH <> | | Subject | [patch 05/18] PCI: remove unused "scratch" |
| |
From: Bjorn Helgaas <bjorn.helgaas@hp.com>
Unused variable.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
--- drivers/pci/hotplug.c | 4 ---- 1 file changed, 4 deletions(-) --- scsi-2.6.orig/drivers/pci/hotplug.c 2005-09-20 05:59:55.000000000 -0700 +++ scsi-2.6/drivers/pci/hotplug.c 2005-09-21 17:29:27.000000000 -0700 @@ -7,7 +7,6 @@ char *buffer, int buffer_size) { struct pci_dev *pdev; - char *scratch; int i = 0; int length = 0; @@ -18,9 +17,6 @@ if (!pdev) return -ENODEV; - scratch = buffer; - - if (add_hotplug_env_var(envp, num_envp, &i, buffer, buffer_size, &length, "PCI_CLASS=%04X", pdev->class)) -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |