--- zzzz-none-000/linux-3.10.107/include/net/net_namespace.h 2017-06-27 09:49:32.000000000 +0000 +++ vr9-7490-729/linux-3.10.107/include/net/net_namespace.h 2021-11-10 11:53:56.000000000 +0000 @@ -141,7 +141,7 @@ #include #include static inline struct net *copy_net_ns(unsigned long flags, - struct user_namespace *user_ns, struct net *old_net) + struct user_namespace *user_ns __maybe_unused, struct net *old_net) { if (flags & CLONE_NEWNET) return ERR_PTR(-EINVAL); @@ -197,7 +197,7 @@ return net; } -static inline void put_net(struct net *net) +static inline void put_net(struct net *net __maybe_unused) { } @@ -207,7 +207,8 @@ } static inline -int net_eq(const struct net *net1, const struct net *net2) +int net_eq(const struct net *net1 __maybe_unused, + const struct net *net2 __maybe_unused) { return 1; } @@ -235,7 +236,7 @@ return net; } -static inline void release_net(struct net *net) +static inline void release_net(struct net *net __maybe_unused) { } #endif