aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-04-09 00:25:14 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2022-04-09 00:25:14 +0000
commit67f6cad3aba890e4c16f025c082bd3ea49c2e324 (patch)
treee1357d9715be53aa94f30b031a863f1545e74c79 /sys/arm64
parentd08cb45362e0c00f29bf0a1f9c639f22042df34b (diff)
downloadsrc-67f6cad3aba890e4c16f025c082bd3ea49c2e324.tar.gz
src-67f6cad3aba890e4c16f025c082bd3ea49c2e324.zip
coresight: Mark a variable only used in a debug trace as unused.
Diffstat (limited to 'sys/arm64')
-rw-r--r--sys/arm64/coresight/coresight_etm4x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm64/coresight/coresight_etm4x.c b/sys/arm64/coresight/coresight_etm4x.c
index 1b9b3ed71fd6..c587dd47b101 100644
--- a/sys/arm64/coresight/coresight_etm4x.c
+++ b/sys/arm64/coresight/coresight_etm4x.c
@@ -173,7 +173,7 @@ static int
etm_init(device_t dev)
{
struct etm_softc *sc;
- uint32_t reg;
+ uint32_t reg __unused;
sc = device_get_softc(dev);