From: Christophe Leroy Date: Thu, 1 Oct 2020 12:42:42 +0000 (+0000) Subject: powerpc/time: Remove get_tbu() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e8d5bf30eafc37e31ce68bc7ccf1db970fe3cd04;p=linux.git powerpc/time: Remove get_tbu() get_tbu() is redundant with mftbu() and is not used anymore. Remove it. Signed-off-by: Christophe Leroy Signed-off-by: Michael Ellerman Link: https://lore.kernel.org/r/1746e2d11ea90c3f45877e1fcc6c79ce96cf6b98.1601556145.git.christophe.leroy@csgroup.eu --- diff --git a/arch/powerpc/include/asm/time.h b/arch/powerpc/include/asm/time.h index c83116ec79c36..3dd2deb623da1 100644 --- a/arch/powerpc/include/asm/time.h +++ b/arch/powerpc/include/asm/time.h @@ -49,11 +49,6 @@ static inline unsigned long get_tbl(void) { return mftb(); } - -static inline unsigned int get_tbu(void) -{ - return mftbu(); -} #endif /* !CONFIG_PPC64 */ static inline u64 get_vtb(void)