diff options
author | David Rientjes <rientjes@google.com> | 2007-05-02 21:27:22 +0400 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2007-05-02 21:27:22 +0400 |
commit | a3193348d407baaa7aef79decfa0e9a7fef74a17 (patch) | |
tree | b54496944b1fb6307ea6c144ef9aee0552b98a7c /arch/i386 | |
parent | b5229dbb857f61d77d8d4048d9033387a5411b8e (diff) | |
download | linux-a3193348d407baaa7aef79decfa0e9a7fef74a17.tar.xz |
[PATCH] i386: type may be unused
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>
Diffstat (limited to 'arch/i386')
-rw-r--r-- | arch/i386/pci/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/pci/init.c b/arch/i386/pci/init.c index b21b6da8ab1d..1cf11af96de2 100644 --- 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(); |