mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
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>
This commit is contained in:
parent
6673c2763f
commit
50a1171d3b
1 changed files with 2 additions and 2 deletions
|
@ -117,14 +117,14 @@ static void ingenic_halt(void)
|
||||||
ingenic_wait_instr();
|
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();
|
ingenic_wait_instr();
|
||||||
|
|
||||||
return 0;
|
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,
|
.valid = suspend_valid_only_mem,
|
||||||
.enter = ingenic_pm_enter,
|
.enter = ingenic_pm_enter,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue