arm: Remove unused variable in dbg_arch_supported

Removed unused dbg_didr which had been used prior to f42421307b to
detect qemu unsupported debugger. I'm unsure how this slipped through my
testing.

Fixes: f42421307b
Sponsored by: Netflix
This commit is contained in:
Warner Losh
2025-11-29 02:47:49 -07:00
parent 57c0a337db
commit 02b72b1540
+1 -3
View File
@@ -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);
}
}