--- zzzz-none-000/linux-2.6.32.61/include/linux/timer.h 2013-06-10 09:43:48.000000000 +0000 +++ ar9-7330-650/linux-2.6.32.61/include/linux/timer.h 2010-07-16 10:24:07.000000000 +0000 @@ -113,7 +113,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) @@ -214,11 +214,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