mirror of
https://git.freebsd.org/src.git
synced 2026-01-16 23:02:24 +00:00
arm: Remove unused variable in dbg_arch_supported
Some checks are pending
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / amd64 macos-latest (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 macos-latest (clang-18) (push) Waiting to run
Some checks are pending
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / amd64 macos-latest (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 macos-latest (clang-18) (push) Waiting to run
Removed unused dbg_didr which had been used prior tof42421307bto detect qemu unsupported debugger. I'm unsure how this slipped through my testing. Fixes:f42421307bSponsored by: Netflix
This commit is contained in:
parent
57c0a337db
commit
02b72b1540
1 changed files with 1 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue