--- zzzz-none-000/linux-2.6.39.4/include/net/dst.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-atom-6490-729/linux-2.6.39.4/include/net/dst.h 2021-11-10 13:38:18.000000000 +0000 @@ -428,10 +428,10 @@ struct flowi; #ifndef CONFIG_XFRM -static inline struct dst_entry *xfrm_lookup(struct net *net, - struct dst_entry *dst_orig, - const struct flowi *fl, struct sock *sk, - int flags) +static inline struct dst_entry *xfrm_lookup(struct net *net __attribute__((unused)), + struct dst_entry *dst_orig __attribute__((unused)), + const struct flowi *fl __attribute__((unused)), struct sock *sk __attribute__((unused)), + int flags __attribute__((unused))) { return dst_orig; }