]> git.ipfire.org Git - thirdparty/linux.git/commit
arm64: debug: clean up single_step_handler logic
authorAda Couprie Diaz <ada.coupriediaz@arm.com>
Mon, 7 Jul 2025 11:40:57 +0000 (12:40 +0100)
committerWill Deacon <will@kernel.org>
Tue, 8 Jul 2025 12:27:41 +0000 (13:27 +0100)
commitad8b22648b7d0bc6f84230508436b1aafc2e2516
treeca483fa3fdf043a37cad1db594aa3e7cf48dfce9
parent19272b37aa4f83ca52bdf9c16d5d81bdd1354494
arm64: debug: clean up single_step_handler logic

Remove the unnecessary boolean which always checks if the handler was found
and return early instead.

Signed-off-by: Ada Couprie Diaz <ada.coupriediaz@arm.com>
Tested-by: Luis Claudio R. Goncalves <lgoncalv@redhat.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20250707114109.35672-2-ada.coupriediaz@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/debug-monitors.c