openrisc: Remove unused tlb_init function
authorStafford Horne <shorne@gmail.com>
Sun, 20 Aug 2023 19:57:14 +0000 (20:57 +0100)
committerStafford Horne <shorne@gmail.com>
Mon, 21 Aug 2023 07:15:25 +0000 (08:15 +0100)
commitc03b12a68f4a9c91e563c909b25bd28b8f1b9414
treeb045b247808e132405f88cb1777669e91a36a8c1
parentf39015504e3abb29e4fb2956f98fed17deebf487
openrisc: Remove unused tlb_init function

When compiling with W=1 enabling -Wmissing-prototypes the compiler
warns:

  arch/openrisc/mm/tlb.c:188:13: error: no previous prototype for 'tlb_init' [-Werror=missing-prototypes]

This function is not implemented or used so remove it.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Closes: https://lore.kernel.org/linux-kernel/20230810141947.1236730-17-arnd@kernel.org/
Signed-off-by: Stafford Horne <shorne@gmail.com>
arch/openrisc/mm/init.c
arch/openrisc/mm/tlb.c