--- zzzz-none-000/linux-4.1.38/include/linux/mutex.h 2017-01-18 18:48:06.000000000 +0000 +++ bcm63-7582-715/linux-4.1.38/include/linux/mutex.h 2020-11-25 10:06:48.000000000 +0000 @@ -96,7 +96,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