--- zzzz-none-000/linux-4.1.52/include/asm-generic/rwsem.h 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/include/asm-generic/rwsem.h 2022-03-02 11:37:13.000000000 +0000 @@ -53,7 +53,7 @@ /* * lock for writing */ -static inline void __down_write_nested(struct rw_semaphore *sem, int subclass) +static inline void __down_write_nested(struct rw_semaphore *sem, int subclass __maybe_unused) { long tmp;