diff mbox series

MIPS: Loongson64: Remove unused loongson_reboot.

Message ID 1599215391-2644-1-git-send-email-hejinyang@loongson.cn (mailing list archive)
State Accepted
Commit 263cdc37c18c976f05c3f5b90be515c72bf3d754
Headers show
Series MIPS: Loongson64: Remove unused loongson_reboot. | expand

Commit Message

Jinyang He Sept. 4, 2020, 10:29 a.m. UTC
Commit 1bdb7b76705a ("MIPS: Loongson64: Cleanup unused code")
left the loongson_reboot unused, delete it.

Signed-off-by: Jinyang He <hejinyang@loongson.cn>
---
 arch/mips/loongson64/reset.c | 5 -----
 1 file changed, 5 deletions(-)

Comments

Thomas Bogendoerfer Sept. 7, 2020, 8:32 p.m. UTC | #1
On Fri, Sep 04, 2020 at 06:29:51PM +0800, Jinyang He wrote:
> Commit 1bdb7b76705a ("MIPS: Loongson64: Cleanup unused code")
> left the loongson_reboot unused, delete it.
> 
> Signed-off-by: Jinyang He <hejinyang@loongson.cn>
> ---
>  arch/mips/loongson64/reset.c | 5 -----
>  1 file changed, 5 deletions(-)

applied to mips-next.

Thomas.
diff mbox series

Patch

diff --git a/arch/mips/loongson64/reset.c b/arch/mips/loongson64/reset.c
index bc76710..3bb8a1e 100644
--- a/arch/mips/loongson64/reset.c
+++ b/arch/mips/loongson64/reset.c
@@ -15,11 +15,6 @@ 
 #include <loongson.h>
 #include <boot_param.h>
 
-static inline void loongson_reboot(void)
-{
-	((void (*)(void))ioremap(LOONGSON_BOOT_BASE, 4)) ();
-}
-
 static void loongson_restart(char *command)
 {