m68k: mac: Remove forward declaration for mac_nmi_handler()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 6 Jul 2022 13:48:46 +0000 (15:48 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 12 Jul 2022 08:48:21 +0000 (10:48 +0200)
commitc36dd297b6c09fff56b629a231cf2aa0af333c2d
tree6aad4cb10d04f17c5dfd2a42218f62fdeb47a525
parent566a2d6d8e429727832c7e347cbe736b12ad7297
m68k: mac: Remove forward declaration for mac_nmi_handler()

Move mac_nmi_handler() before its caller, so its forward declaration can
be dropped.  While at it, make the function static, and absorb the
variable in_nmi, which is only used inside the function.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Finn Thain <fthain@linux-m68k.org>
Link: https://lore.kernel.org/r/fa48394ecba7c29a2da354d13c1017b37237f25b.1657114783.git.geert@linux-m68k.org
arch/m68k/mac/macints.c