summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2020-10-01 12:42:42 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2020-10-08 21:17:15 +1100
commite8d5bf30eafc37e31ce68bc7ccf1db970fe3cd04 (patch)
treec114d45584eef4b45334f9cdbf33974f8cb1395a /arch/powerpc
parent942e89115b588b4b5df86930b5302a5c07b820ba (diff)
powerpc/time: Remove get_tbu()
get_tbu() is redundant with mftbu() and is not used anymore. Remove it. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/1746e2d11ea90c3f45877e1fcc6c79ce96cf6b98.1601556145.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/include/asm/time.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/powerpc/include/asm/time.h b/arch/powerpc/include/asm/time.h
index c83116ec79c3..3dd2deb623da 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)