Commit 92826ff3 authored by Gaetan Perrot's avatar Gaetan Perrot Committed by Dan Kalowsky
Browse files

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



Use ARG_UNUSED() to mark unused function argument.

Signed-off-by: default avatarGaetan Perrot <gaetan.perrot@spacecubics.com>
parent 1d44903e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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;
	}