From: David Rientjes Date: Wed, 9 May 2007 09:35:28 +0000 (-0700) Subject: i386 pci: use __maybe_unused X-Git-Tag: firefly_0821_release~29317 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f6744c02bc50797c1a83f8303ebcc96673ca0524;p=firefly-linux-kernel-4.4.55.git i386 pci: use __maybe_unused Use the new macro here Cc: Andi Kleen Signed-off-by: David Rientjes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/i386/pci/init.c b/arch/i386/pci/init.c index 1cf11af96de2..3de9f9ba2da6 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 __attribute__((unused)) = 0; + int type __maybe_unused = 0; #ifdef CONFIG_PCI_DIRECT type = pci_direct_probe();