The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=02b72b1540bf4e8daaeda4b4ef1670b766768db7
commit 02b72b1540bf4e8daaeda4b4ef1670b766768db7 Author: Warner Losh <[email protected]> AuthorDate: 2025-11-29 09:47:49 +0000 Commit: Warner Losh <[email protected]> CommitDate: 2025-11-29 09:47:49 +0000 arm: Remove unused variable in dbg_arch_supported Removed unused dbg_didr which had been used prior to f42421307b11 to detect qemu unsupported debugger. I'm unsure how this slipped through my testing. Fixes: f42421307b11 Sponsored by: Netflix --- sys/arm/arm/debug_monitor.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/arm/arm/debug_monitor.c b/sys/arm/arm/debug_monitor.c index 4d61896a2142..a703c65f541b 100644 --- a/sys/arm/arm/debug_monitor.c +++ b/sys/arm/arm/debug_monitor.c @@ -814,14 +814,12 @@ dbg_get_ossr(void) static __inline boolean_t dbg_arch_supported(void) { - uint32_t dbg_didr; - switch (dbg_model) { case ID_DFR0_CP_DEBUG_M_V7: case ID_DFR0_CP_DEBUG_M_V7_1: /* fall through */ return (TRUE); default: - /* We only support valid v6.x/v7.x modes through CP14 */ + /* We only support valid v7.x modes through CP14 */ return (FALSE); } }
