--- zzzz-none-000/linux-2.6.39.4/include/linux/plist.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-arm-6490-729/linux-2.6.39.4/include/linux/plist.h 2021-11-10 13:23:10.000000000 +0000 @@ -144,7 +144,7 @@ * @lock: spinlock protecting the list (debugging) */ static inline void -plist_head_init(struct plist_head *head, spinlock_t *lock) +plist_head_init(struct plist_head *head, spinlock_t *lock __attribute__((unused))) { INIT_LIST_HEAD(&head->node_list); #ifdef CONFIG_DEBUG_PI_LIST @@ -159,7 +159,7 @@ * @lock: raw_spinlock protecting the list (debugging) */ static inline void -plist_head_init_raw(struct plist_head *head, raw_spinlock_t *lock) +plist_head_init_raw(struct plist_head *head, raw_spinlock_t *lock __attribute__((unused))) { INIT_LIST_HEAD(&head->node_list); #ifdef CONFIG_DEBUG_PI_LIST