--- zzzz-none-000/linux-4.1.52/include/net/dst.h 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/include/net/dst.h 2022-03-02 11:37:13.000000000 +0000 @@ -519,10 +519,12 @@ struct flowi; #ifndef CONFIG_XFRM -static inline struct dst_entry *xfrm_lookup(struct net *net, +static inline struct dst_entry *xfrm_lookup( + struct net *net __maybe_unused, struct dst_entry *dst_orig, - const struct flowi *fl, struct sock *sk, - int flags) + const struct flowi *fl __maybe_unused, + struct sock *sk __maybe_unused, + int flags __maybe_unused) { return dst_orig; }