diff options
author | Gao Feng <gfree.wind@vip.163.com> | 2017-11-13 15:58:18 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-01-08 18:01:02 +0100 |
commit | 6b3d933000cbe539e5b234d639b083da60bb275c (patch) | |
tree | 32cfb868ecf3578f564f6b2f9c6ea54c7960a5b6 /include/net/ip_vs.h | |
parent | netfilter: conntrack: timeouts can be const (diff) | |
download | linux-6b3d933000cbe539e5b234d639b083da60bb275c.tar.xz linux-6b3d933000cbe539e5b234d639b083da60bb275c.zip |
netfilter: ipvs: Remove useless ipvsh param of frag_safe_skb_hp
The param of frag_safe_skb_hp, ipvsh, isn't used now. So remove it and
update the callers' codes too.
Signed-off-by: Gao Feng <gfree.wind@vip.163.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/ip_vs.h')
-rw-r--r-- | include/net/ip_vs.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h index ff68cf288f9b..eb0bec043c96 100644 --- a/include/net/ip_vs.h +++ b/include/net/ip_vs.h @@ -69,8 +69,7 @@ struct ip_vs_iphdr { }; static inline void *frag_safe_skb_hp(const struct sk_buff *skb, int offset, - int len, void *buffer, - const struct ip_vs_iphdr *ipvsh) + int len, void *buffer) { return skb_header_pointer(skb, offset, len, buffer); } |