[patch 05/18] PCI: remove unused "scratch"

From: Greg KH
Date: Thu Sep 22 2005 - 02:55:13 EST


From: Bjorn Helgaas <bjorn.helgaas@xxxxxx>

Unused variable.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@xxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>

---
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/