--- zzzz-none-000/linux-4.1.38/include/net/dst.h 2017-01-18 18:48:06.000000000 +0000 +++ bcm63-7582-715/linux-4.1.38/include/net/dst.h 2020-11-25 10:06:48.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; }