projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dba2801
)
[PATCH] PCI: remove unused "scratch"
author
Bjorn Helgaas
<bjorn.helgaas@hp.com>
Thu, 22 Sep 2005 07:48:02 +0000
(
00:48
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Thu, 22 Sep 2005 14:58:24 +0000
(07:58 -0700)
Unused variable.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/pci/hotplug.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pci/hotplug.c
b/drivers/pci/hotplug.c
index 10444988a10b58532dd942a0af906594904bd5fe..e1743be3190938b3f7d9107c228d9c0f9aa11677 100644
(file)
--- 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,
char *buffer, int buffer_size)
{
struct pci_dev *pdev;
- char *scratch;
int i = 0;
int length = 0;
@@
-18,9
+17,6
@@
int pci_hotplug (struct device *dev, char **envp, int num_envp,
if (!pdev)
return -ENODEV;
- scratch = buffer;
-
-
if (add_hotplug_env_var(envp, num_envp, &i,
buffer, buffer_size, &length,
"PCI_CLASS=%04X", pdev->class))