diff options
Diffstat (limited to 'core/minute-ia/panic.c')
-rw-r--r-- | core/minute-ia/panic.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/core/minute-ia/panic.c b/core/minute-ia/panic.c index aec6c4016a..eda38abc7f 100644 --- a/core/minute-ia/panic.c +++ b/core/minute-ia/panic.c @@ -127,16 +127,6 @@ __attribute__ ((noreturn)) void __keep exception_panic( continue; } -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) { |