]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] i386: type may be unused
authorDavid Rientjes <rientjes@google.com>
Wed, 2 May 2007 17:27:22 +0000 (19:27 +0200)
committerAndi 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

index b21b6da8ab1dc6915258a4ec211e43cb6c39c61c..1cf11af96de25341d919e59c83138525aa202380 100644 (file)
@@ -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();