--- zzzz-none-000/linux-4.1.52/include/linux/seqlock.h 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/include/linux/seqlock.h 2022-03-02 11:37:13.000000000 +0000 @@ -248,7 +248,7 @@ * Sequence counter only version assumes that callers are using their * own mutexing. */ -static inline void write_seqcount_begin_nested(seqcount_t *s, int subclass) +static inline void write_seqcount_begin_nested(seqcount_t *s, int subclass __maybe_unused) { raw_write_seqcount_begin(s); seqcount_acquire(&s->dep_map, subclass, 0, _RET_IP_);