Skip to content

Commit e8d5bf3

Browse files
chleroympe
authored andcommitted
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
1 parent 942e891 commit e8d5bf3

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

  • arch/powerpc/include/asm

arch/powerpc/include/asm/time.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,6 @@ static inline unsigned long get_tbl(void)
4949
{
5050
return mftb();
5151
}
52-
53-
static inline unsigned int get_tbu(void)
54-
{
55-
return mftbu();
56-
}
5752
#endif /* !CONFIG_PPC64 */
5853

5954
static inline u64 get_vtb(void)

0 commit comments

Comments
 (0)