Removes some functions that are not used anywhere:
ArcGetSystemId() ArcSaveConfiguration() ArcRestart() ArcPowerDown() ArcHalt()
This was partially found by using a static code analysis program called cppcheck.
Signed-off-by: Rickard Strandqvist <redacted>
---
arch/mips/fw/arc/misc.c | 40 ----------------------------------------
1 file changed, 40 deletions(-)
diff --git a/arch/mips/fw/arc/misc.c b/arch/mips/fw/arc/misc.c
index f9f5307..214dc88 100644
--- a/arch/mips/fw/arc/misc.c
+++ b/arch/mips/fw/arc/misc.c
@@ -20,34 +20,6 @@
#include <asm/bootinfo.h>
VOID
-ArcHalt(VOID)
-{
- bc_disable();
- local_irq_disable();
- ARC_CALL0(halt);
-never: goto never;
-}
-
-VOID
-ArcPowerDown(VOID)
-{
- bc_disable();
- local_irq_disable();
- ARC_CALL0(pdown);
-never: goto never;
-}
-
-/* XXX is this a soft reset basically? XXX */
-VOID
-ArcRestart(VOID)
-{
- bc_disable();
- local_irq_disable();
- ARC_CALL0(restart);
-never: goto never;
-}
-
-VOID
ArcReboot(VOID)
{
bc_disable();@@ -65,18 +37,6 @@ ArcEnterInteractiveMode(VOID)
never: goto never;
}
-LONG
-ArcSaveConfiguration(VOID)
-{
- return ARC_CALL0(cfg_save);
-}
-
-struct linux_sysid *
-ArcGetSystemId(VOID)
-{
- return (struct linux_sysid *) ARC_CALL0(get_sysid);
-}
-
VOID __init
ArcFlushAllCaches(VOID)
{--
1.7.10.4