projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5229db
)
[PATCH] i386: type may be unused
author
David Rientjes
<rientjes@google.com>
Wed, 2 May 2007 17:27:22 +0000
(19:27 +0200)
committer
Andi Kleen
<andi@basil.nowhere.org>
Wed, 2 May 2007 17:27:22 +0000
(19:27 +0200)
In the case of !CONFIG_PCI_DIRECT && !CONFIG_PCI_MMCONFIG, type is
unreferened.
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/pci/init.c
patch
|
blob
|
history
diff --git
a/arch/i386/pci/init.c
b/arch/i386/pci/init.c
index
b21b6da
..
1cf11af
100644
(file)
--- a/
arch/i386/pci/init.c
+++ b/
arch/i386/pci/init.c
@@
-6,7
+6,7
@@
in the right sequence from here. */
static __init int pci_access_init(void)
{
- int type = 0;
+ int type
__attribute__((unused))
= 0;
#ifdef CONFIG_PCI_DIRECT
type = pci_direct_probe();