--- zzzz-none-000/linux-2.6.39.4/include/net/inet_timewait_sock.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-atom-6490-729/linux-2.6.39.4/include/net/inet_timewait_sock.h 2021-11-10 13:38:18.000000000 +0000 @@ -215,7 +215,7 @@ struct inet_timewait_death_row *twdr, int family); static inline -struct net *twsk_net(const struct inet_timewait_sock *twsk) +struct net *twsk_net(const struct inet_timewait_sock *twsk __attribute__((unused))) { #ifdef CONFIG_NET_NS return rcu_dereference_raw(twsk->tw_net); /* protected by locking, */ @@ -227,7 +227,7 @@ } static inline -void twsk_net_set(struct inet_timewait_sock *twsk, struct net *net) +void twsk_net_set(struct inet_timewait_sock *twsk __attribute__((unused)), struct net *net __attribute__((unused))) { #ifdef CONFIG_NET_NS rcu_assign_pointer(twsk->tw_net, net);