xtensa: remove ARG_UNUSED from arch_syscall_oops

ssf is being passed to xtensa_arch_kernel_oops() so there is
no need to mark ssf with ARG_UNUSED.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2024-01-29 12:05:16 -08:00 committed by David Leach
commit 39d9d0a2fc

View file

@ -132,8 +132,6 @@ FUNC_NORETURN void z_system_halt(unsigned int reason)
FUNC_NORETURN void arch_syscall_oops(void *ssf) FUNC_NORETURN void arch_syscall_oops(void *ssf)
{ {
ARG_UNUSED(ssf);
xtensa_arch_kernel_oops(K_ERR_KERNEL_OOPS, ssf); xtensa_arch_kernel_oops(K_ERR_KERNEL_OOPS, ssf);
CODE_UNREACHABLE; CODE_UNREACHABLE;