--- zzzz-none-000/linux-4.1.52/include/net/inet_timewait_sock.h 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/include/net/inet_timewait_sock.h 2022-03-02 11:37:13.000000000 +0000 @@ -132,13 +132,14 @@ 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 __maybe_unused) { return read_pnet(&twsk->tw_net); } static inline -void twsk_net_set(struct inet_timewait_sock *twsk, struct net *net) +void twsk_net_set(struct inet_timewait_sock *twsk __maybe_unused, + struct net *net) { write_pnet(&twsk->tw_net, net); }