Skip to content

Commit 02b72b1

Browse files
committed
arm: Remove unused variable in dbg_arch_supported
Removed unused dbg_didr which had been used prior to f424213 to detect qemu unsupported debugger. I'm unsure how this slipped through my testing. Fixes: f424213 Sponsored by: Netflix
1 parent 57c0a33 commit 02b72b1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

sys/arm/arm/debug_monitor.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -814,14 +814,12 @@ dbg_get_ossr(void)
814814
static __inline boolean_t
815815
dbg_arch_supported(void)
816816
{
817-
uint32_t dbg_didr;
818-
819817
switch (dbg_model) {
820818
case ID_DFR0_CP_DEBUG_M_V7:
821819
case ID_DFR0_CP_DEBUG_M_V7_1: /* fall through */
822820
return (TRUE);
823821
default:
824-
/* We only support valid v6.x/v7.x modes through CP14 */
822+
/* We only support valid v7.x modes through CP14 */
825823
return (FALSE);
826824
}
827825
}

0 commit comments

Comments
 (0)