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 |
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 --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) {
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(-)