* [PATCH] MIPS: Loongson64: Remove unused loongson_reboot.
@ 2020-09-04 10:29 Jinyang He
2020-09-07 20:32 ` Thomas Bogendoerfer
0 siblings, 1 reply; 2+ messages in thread
From: Jinyang He @ 2020-09-04 10:29 UTC (permalink / raw)
To: Huacai Chen, Jiaxun Yang, Thomas Bogendoerfer; +Cc: linux-mips, linux-kernel
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(-)
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)
{
--
2.1.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] MIPS: Loongson64: Remove unused loongson_reboot.
2020-09-04 10:29 [PATCH] MIPS: Loongson64: Remove unused loongson_reboot Jinyang He
@ 2020-09-07 20:32 ` Thomas Bogendoerfer
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Bogendoerfer @ 2020-09-07 20:32 UTC (permalink / raw)
To: Jinyang He; +Cc: Huacai Chen, Jiaxun Yang, linux-mips, linux-kernel
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.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-08 7:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-04 10:29 [PATCH] MIPS: Loongson64: Remove unused loongson_reboot Jinyang He
2020-09-07 20:32 ` Thomas Bogendoerfer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).