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

i386: voyager: use __maybe_unused

Replace automatic variable instances of __attribute__((unused)) with
__maybe_unused in mca_nmi_hook().

Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
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 d16aaffa
...@@ -292,8 +292,8 @@ machine_emergency_restart(void) ...@@ -292,8 +292,8 @@ machine_emergency_restart(void)
void void
mca_nmi_hook(void) mca_nmi_hook(void)
{ {
__u8 dumpval __attribute__((unused)) = inb(0xf823); __u8 dumpval __maybe_unused = inb(0xf823);
__u8 swnmi __attribute__((unused)) = inb(0xf813); __u8 swnmi __maybe_unused = inb(0xf813);
/* FIXME: assume dump switch pressed */ /* FIXME: assume dump switch pressed */
/* check to see if the dump switch was pressed */ /* check to see if the dump switch was pressed */
......
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