On Thu, May 11, 2023 at 08:06:48PM +0800, Keguang Zhang wrote: > Commit 2a31bf20808a ("watchdog: loongson1_wdt: Implement restart handler") > implmented .restart ops, Then, _machine_restart is no longer needed. > The _machine_halt and pm_power_off are also unnecessary, > which contain no hardware operations. > > Therefore, remove the entire reset.c and related header file. > Update the Makefile accordingly. > > Signed-off-by: Keguang Zhang <keguang.zhang@xxxxxxxxx> > --- > V2 -> V3: Update the commit message > V1 -> V2: Remove the reference to regs-wdt.h > --- > .../include/asm/mach-loongson32/loongson1.h | 1 - > .../include/asm/mach-loongson32/regs-wdt.h | 15 ------ > arch/mips/loongson32/common/Makefile | 2 +- > arch/mips/loongson32/common/reset.c | 51 ------------------- > 4 files changed, 1 insertion(+), 68 deletions(-) > delete mode 100644 arch/mips/include/asm/mach-loongson32/regs-wdt.h > delete mode 100644 arch/mips/loongson32/common/reset.c 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 ]