--- zzzz-none-000/linux-2.6.39.4/include/linux/seq_file_net.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-arm-6490-729/linux-2.6.39.4/include/linux/seq_file_net.h 2021-11-10 13:23:10.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 __attribute__((unused))) { #ifdef CONFIG_NET_NS return ((struct seq_net_private *)seq->private)->net;