projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/arch/i386/pci/init.c
b/arch/i386/pci/init.c
index b21b6da8ab1dc6915258a4ec211e43cb6c39c61c..1cf11af96de25341d919e59c83138525aa202380 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();