diff options
| author | Warner Losh <imp@FreeBSD.org> | 2025-11-29 09:47:49 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2025-11-29 09:47:49 +0000 |
| commit | 02b72b1540bf4e8daaeda4b4ef1670b766768db7 (patch) | |
| tree | 2c636aeb5576d9680fd8bb18b77ce24c5fdff871 | |
| parent | 57c0a337dbc592a82d184f18dc69634eb0a9db10 (diff) | |
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
| -rw-r--r-- | sys/arm/arm/debug_monitor.c | 4 |
1 files changed, 1 insertions, 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); } } |
