Quellcode durchsuchen

[MIPS] Revert "mips: add pm_power_off"

pm_power_off duplicates the functionality of _machine_restart.

This reverts b142159fa5ffbad73b6927fafa5440148030f3f1 commit.

Ralf Baechle vor 19 Jahren
Ursprung
Commit
a3305a8835
1 geänderte Dateien mit 0 neuen und 6 gelöschten Zeilen
  1. 0 6
      arch/mips/kernel/reset.c

+ 0 - 6
arch/mips/kernel/reset.c

@@ -12,9 +12,6 @@
 #include <linux/reboot.h>
 #include <linux/reboot.h>
 #include <asm/reboot.h>
 #include <asm/reboot.h>
 
 
-void (*pm_power_off)(void);
-EXPORT_SYMBOL(pm_power_off);
-
 /*
 /*
  * Urgs ...  Too many MIPS machines to handle this in a generic way.
  * Urgs ...  Too many MIPS machines to handle this in a generic way.
  * So handle all using function pointers to machine specific
  * So handle all using function pointers to machine specific
@@ -36,9 +33,6 @@ void machine_halt(void)
 
 
 void machine_power_off(void)
 void machine_power_off(void)
 {
 {
-	if (pm_power_off)
-		pm_power_off();
-
 	_machine_power_off();
 	_machine_power_off();
 }
 }