--- zzzz-none-000/linux-3.10.107/include/linux/srcu.h 2017-06-27 09:49:32.000000000 +0000 +++ vr9-7490-729/linux-3.10.107/include/linux/srcu.h 2021-11-10 11:53:56.000000000 +0000 @@ -164,7 +164,7 @@ #else /* #ifdef CONFIG_DEBUG_LOCK_ALLOC */ -static inline int srcu_read_lock_held(struct srcu_struct *sp) +static inline int srcu_read_lock_held(struct srcu_struct *sp __attribute__((unused))) { return 1; }