Merge tag 'iio-fixes-for-5.18a' of https://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / drivers / clocksource / timer-pistachio.c
index 6f37181..69c069e 100644 (file)
@@ -71,7 +71,8 @@ static u64 notrace
 pistachio_clocksource_read_cycles(struct clocksource *cs)
 {
        struct pistachio_clocksource *pcs = to_pistachio_clocksource(cs);
-       u32 counter, overflow;
+       __maybe_unused u32 overflow;
+       u32 counter;
        unsigned long flags;
 
        /*