--- zzzz-none-000/linux-4.1.38/include/linux/hrtimer.h 2017-01-18 18:48:06.000000000 +0000 +++ bcm63-7582-715/linux-4.1.38/include/linux/hrtimer.h 2020-11-25 10:06:48.000000000 +0000 @@ -311,7 +311,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; } @@ -349,7 +349,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: */