i386 pci: use __maybe_unused
authorDavid Rientjes <[email protected]>
Wed, 9 May 2007 09:35:28 +0000 (02:35 -0700)
committerLinus Torvalds <[email protected]>
Wed, 9 May 2007 19:30:56 +0000 (12:30 -0700)
Use the new macro here

Cc: Andi Kleen <[email protected]>
Signed-off-by: David Rientjes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/i386/pci/init.c

index 1cf11af96de25341d919e59c83138525aa202380..3de9f9ba2da6aed8be73921f3f416ed8af444a49 100644 (file)
@@ -6,7 +6,7 @@
    in the right sequence from here. */
 static __init int pci_access_init(void)
 {
-       int type __attribute__((unused)) = 0;
+       int type __maybe_unused = 0;
 
 #ifdef CONFIG_PCI_DIRECT
        type = pci_direct_probe();