--- zzzz-none-000/linux-4.1.52/include/linux/hrtimer.h 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/include/linux/hrtimer.h 2022-03-02 11:37:13.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: */