--- zzzz-none-000/linux-3.10.107/include/linux/rtmutex.h 2017-06-27 09:49:32.000000000 +0000 +++ vr9-7490-729/linux-3.10.107/include/linux/rtmutex.h 2021-11-10 11:53:56.000000000 +0000 @@ -45,8 +45,9 @@ unsigned long len); extern void rt_mutex_debug_check_no_locks_held(struct task_struct *task); #else - static inline int rt_mutex_debug_check_no_locks_freed(const void *from, - unsigned long len) + static inline int rt_mutex_debug_check_no_locks_freed( + const void *from __maybe_unused, + unsigned long len __maybe_unused) { return 0; }