Commit f6744c02 authored by David Rientjes's avatar David Rientjes Committed by Linus Torvalds

i386 pci: use __maybe_unused

Use the new macro here

Cc: Andi Kleen <ak@suse.de>
Signed-off-by: default avatarDavid Rientjes <rientjes@google.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 0d7ebbbc
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
in the right sequence from here. */ in the right sequence from here. */
static __init int pci_access_init(void) static __init int pci_access_init(void)
{ {
int type __attribute__((unused)) = 0; int type __maybe_unused = 0;
#ifdef CONFIG_PCI_DIRECT #ifdef CONFIG_PCI_DIRECT
type = pci_direct_probe(); type = pci_direct_probe();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment