]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit39658984e826d8734b1e99929803a33a1d03c61c
tree6aad4cb10d04f17c5dfd2a42218f62fdeb47a525
parent12bc502c6e18f1c3c82612a4e2ab045ad460313f
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