summaryrefslogtreecommitdiff
path: root/libcpu/arm
diff options
context:
space:
mode:
Diffstat (limited to 'libcpu/arm')
-rw-r--r--libcpu/arm/cortex-a/pmu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcpu/arm/cortex-a/pmu.c b/libcpu/arm/cortex-a/pmu.c
index 4b62849a1a..68abed4e19 100644
--- a/libcpu/arm/cortex-a/pmu.c
+++ b/libcpu/arm/cortex-a/pmu.c
@@ -21,4 +21,5 @@ void rt_hw_pmu_dump_feature(void)
LOG_D("ARM PMU Implementor: %c, ID code: %02x, %d counters\n",
reg >> 24, (reg >> 16) & 0xff, (reg >> 11) & 0x1f);
RT_ASSERT(ARM_PMU_CNTER_NR == ((reg >> 11) & 0x1f));
+ RT_UNUSED(reg);
}