--- zzzz-none-000/linux-3.10.107/include/linux/mutex.h 2017-06-27 09:49:32.000000000 +0000 +++ vr9-7490-729/linux-3.10.107/include/linux/mutex.h 2021-11-10 11:53:56.000000000 +0000 @@ -95,7 +95,7 @@ \ __mutex_init((mutex), #mutex, &__key); \ } while (0) -static inline void mutex_destroy(struct mutex *lock) {} +static inline void mutex_destroy(struct mutex *lock __attribute__((unused))) {} #endif #ifdef CONFIG_DEBUG_LOCK_ALLOC