--- zzzz-none-000/linux-4.1.38/include/linux/seqlock.h 2017-01-18 18:48:06.000000000 +0000 +++ bcm63-7582-715/linux-4.1.38/include/linux/seqlock.h 2020-11-25 10:06:48.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_);