diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2020-10-01 14:42:42 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-10-08 12:17:15 +0200 |
commit | e8d5bf30eafc37e31ce68bc7ccf1db970fe3cd04 (patch) | |
tree | c114d45584eef4b45334f9cdbf33974f8cb1395a | |
parent | powerpc/time: Avoid using get_tbl() and get_tbu() internally (diff) | |
download | linux-e8d5bf30eafc37e31ce68bc7ccf1db970fe3cd04.tar.xz linux-e8d5bf30eafc37e31ce68bc7ccf1db970fe3cd04.zip |
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
-rw-r--r-- | arch/powerpc/include/asm/time.h | 5 |
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) |