summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2023-06-04 14:26:53 +0200
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2023-06-09 09:54:17 +0200
commit50a1171d3bd1d0edd637b9fc5e81d842c5bc55c0 (patch)
tree86a7bef51cf140e5c2fde7f11352114db95fb4bd
parent6673c2763f6f999fc32cff1833c7d4d6d35f787b (diff)
downloadlinux-stable-50a1171d3bd1d0edd637b9fc5e81d842c5bc55c0.tar.gz
linux-stable-50a1171d3bd1d0edd637b9fc5e81d842c5bc55c0.tar.bz2
linux-stable-50a1171d3bd1d0edd637b9fc5e81d842c5bc55c0.zip
mips: ingenic: Remove useless __maybe_unused
These flags are useless in this case as the code referencing these data structures is always seen by the compiler (and not behind #ifdef guards). Signed-off-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
-rw-r--r--arch/mips/generic/board-ingenic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/generic/board-ingenic.c b/arch/mips/generic/board-ingenic.c
index c422bbc890ed..7a4fce06875d 100644
--- a/arch/mips/generic/board-ingenic.c
+++ b/arch/mips/generic/board-ingenic.c
@@ -117,14 +117,14 @@ static void ingenic_halt(void)
ingenic_wait_instr();
}
-static int __maybe_unused ingenic_pm_enter(suspend_state_t state)
+static int ingenic_pm_enter(suspend_state_t state)
{
ingenic_wait_instr();
return 0;
}
-static const struct platform_suspend_ops ingenic_pm_ops __maybe_unused = {
+static const struct platform_suspend_ops ingenic_pm_ops = {
.valid = suspend_valid_only_mem,
.enter = ingenic_pm_enter,
};