powerpc/time: Remove generic_suspend_{dis/en}able_irqs()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 31 Aug 2021 08:29:35 +0000 (08:29 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 22 Oct 2021 04:22:05 +0000 (15:22 +1100)
commite606a2f46c72ec399bb9be194f6df95ea8ec3b1b
tree6e183e0fdce8e177ab9800f7d00c32673378d70f
parent566af8cda399c088763d07464463dc871c943b54
powerpc/time: Remove generic_suspend_{dis/en}able_irqs()

Commit d75d68cfef49 ("powerpc: Clean up obsolete code relating to
decrementer and timebase") made generic_suspend_enable_irqs() and
generic_suspend_disable_irqs() static.

Fold them into their only caller.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Reviewed-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/c3f9ec9950394ef939014f7934268e6ee30ca04f.1630398566.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/time.c