--- zzzz-none-000/linux-4.1.52/include/linux/seq_file_net.h 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/include/linux/seq_file_net.h 2022-03-02 11:37:13.000000000 +0000 @@ -18,7 +18,7 @@ int (*show)(struct seq_file *, void *)); int seq_release_net(struct inode *, struct file *); int single_release_net(struct inode *, struct file *); -static inline struct net *seq_file_net(struct seq_file *seq) +static inline struct net *seq_file_net(struct seq_file *seq __maybe_unused) { #ifdef CONFIG_NET_NS return ((struct seq_net_private *)seq->private)->net;