--- zzzz-none-000/linux-4.1.52/include/net/neighbour.h 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/include/net/neighbour.h 2022-03-02 11:37:13.000000000 +0000 @@ -329,7 +329,7 @@ void neigh_parms_release(struct neigh_table *tbl, struct neigh_parms *parms); static inline -struct net *neigh_parms_net(const struct neigh_parms *parms) +struct net *neigh_parms_net(const struct neigh_parms *parms __maybe_unused) { return read_pnet(&parms->net); } @@ -346,7 +346,7 @@ int pneigh_delete(struct neigh_table *tbl, struct net *net, const void *key, struct net_device *dev); -static inline struct net *pneigh_net(const struct pneigh_entry *pneigh) +static inline struct net *pneigh_net(const struct pneigh_entry *pneigh __maybe_unused) { return read_pnet(&pneigh->net); }