Skip to content

Commit

Permalink
i386 pci: use __maybe_unused
Browse files Browse the repository at this point in the history
Use the new macro here

Cc: Andi Kleen <ak@suse.de>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
David Rientjes authored and Linus Torvalds committed May 9, 2007
1 parent 0d7ebbb commit f6744c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/i386/pci/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit f6744c0

Please sign in to comment.