arch: arm64: core: fatal: mark unused function argument

Use ARG_UNUSED() to mark unused function argument.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
This commit is contained in:
Gaetan Perrot 2025-07-06 02:49:26 +09:00 committed by Dan Kalowsky
parent 1d44903e23
commit 92826ff312

View File

@ -362,6 +362,10 @@ static bool z_arm64_stack_corruption_check(struct arch_esf *esf, uint64_t esr, u
static bool is_recoverable(struct arch_esf *esf, uint64_t esr, uint64_t far,
uint64_t elr)
{
ARG_UNUSED(esr);
ARG_UNUSED(far);
ARG_UNUSED(elr);
if (!esf) {
return false;
}