--- zzzz-none-000/linux-3.10.107/include/linux/hrtimer.h 2017-06-27 09:49:32.000000000 +0000 +++ vr9-7490-729/linux-3.10.107/include/linux/hrtimer.h 2021-11-10 11:53:56.000000000 +0000 @@ -307,7 +307,7 @@ return timer->base->softirq_time; } -static inline int hrtimer_is_hres_active(struct hrtimer *timer) +static inline int hrtimer_is_hres_active(struct hrtimer *timer __maybe_unused) { return 0; } @@ -353,7 +353,8 @@ { hrtimer_init(timer, which_clock, mode); } -static inline void destroy_hrtimer_on_stack(struct hrtimer *timer) { } +static inline void destroy_hrtimer_on_stack(struct hrtimer *timer + __maybe_unused) { } #endif /* Basic timer operations: */