diff options
-rw-r--r-- | drivers/pci/hotplug.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/pci/hotplug.c b/drivers/pci/hotplug.c index 10444988a10b..e1743be31909 100644 --- a/drivers/pci/hotplug.c +++ b/drivers/pci/hotplug.c | |||
@@ -7,7 +7,6 @@ int pci_hotplug (struct device *dev, char **envp, int num_envp, | |||
7 | char *buffer, int buffer_size) | 7 | char *buffer, int buffer_size) |
8 | { | 8 | { |
9 | struct pci_dev *pdev; | 9 | struct pci_dev *pdev; |
10 | char *scratch; | ||
11 | int i = 0; | 10 | int i = 0; |
12 | int length = 0; | 11 | int length = 0; |
13 | 12 | ||
@@ -18,9 +17,6 @@ int pci_hotplug (struct device *dev, char **envp, int num_envp, | |||
18 | if (!pdev) | 17 | if (!pdev) |
19 | return -ENODEV; | 18 | return -ENODEV; |
20 | 19 | ||
21 | scratch = buffer; | ||
22 | |||
23 | |||
24 | if (add_hotplug_env_var(envp, num_envp, &i, | 20 | if (add_hotplug_env_var(envp, num_envp, &i, |
25 | buffer, buffer_size, &length, | 21 | buffer, buffer_size, &length, |
26 | "PCI_CLASS=%04X", pdev->class)) | 22 | "PCI_CLASS=%04X", pdev->class)) |