--- zzzz-none-000/linux-2.6.39.4/include/linux/timer.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-atom-6490-729/linux-2.6.39.4/include/linux/timer.h 2021-11-10 13:38:17.000000000 +0000 @@ -154,7 +154,7 @@ struct lock_class_key *key); extern void destroy_timer_on_stack(struct timer_list *timer); #else -static inline void destroy_timer_on_stack(struct timer_list *timer) { } +static inline void destroy_timer_on_stack(struct timer_list *timer __attribute__((unused))) { } static inline void init_timer_on_stack_key(struct timer_list *timer, const char *name, struct lock_class_key *key) @@ -263,11 +263,11 @@ { } -static inline void timer_stats_timer_set_start_info(struct timer_list *timer) +static inline void timer_stats_timer_set_start_info(struct timer_list *timer __attribute__((unused))) { } -static inline void timer_stats_timer_clear_start_info(struct timer_list *timer) +static inline void timer_stats_timer_clear_start_info(struct timer_list *timer __attribute__((unused))) { } #endif