summaryrefslogtreecommitdiff
path: root/core/minute-ia/panic.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/minute-ia/panic.c')
-rw-r--r--core/minute-ia/panic.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/core/minute-ia/panic.c b/core/minute-ia/panic.c
index c879ee49a9..06c903be0c 100644
--- a/core/minute-ia/panic.c
+++ b/core/minute-ia/panic.c
@@ -143,16 +143,6 @@ __attribute__ ((noreturn)) void __keep exception_panic(
__builtin_unreachable();
}
-static int command_divzero(int argc, char **argv)
-{
- volatile int x = 0;
-
- x = 1 / x;
- return EC_SUCCESS;
-}
-DECLARE_CONSOLE_COMMAND(divzero, command_divzero, NULL,
- "Divide by zero to trigger a processor exception");
-
#ifdef CONFIG_SOFTWARE_PANIC
void software_panic(uint32_t reason, uint32_t info)
{