diff options
author | Li RongQing <lirongqing@baidu.com> | 2019-07-04 12:03:26 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-06 01:30:36 +0300 |
commit | e4aa33ad595936391f7356f25c0c839011f14ead (patch) | |
tree | 19e13551c2a103bc807c133d176db4af7eff70f4 /net/ipv6 | |
parent | 60a6127c5e4888aa701744d9b9dbd8a94cec35c7 (diff) | |
download | linux-e4aa33ad595936391f7356f25c0c839011f14ead.tar.xz |
net: remove unused parameter from skb_checksum_try_convert
the check parameter is never used
Signed-off-by: Li RongQing <lirongqing@baidu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/udp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c index 66ca5a4b17c4..4406e059da68 100644 --- a/net/ipv6/udp.c +++ b/net/ipv6/udp.c @@ -826,8 +826,7 @@ static int udp6_unicast_rcv_skb(struct sock *sk, struct sk_buff *skb, int ret; if (inet_get_convert_csum(sk) && uh->check && !IS_UDPLITE(sk)) - skb_checksum_try_convert(skb, IPPROTO_UDP, uh->check, - ip6_compute_pseudo); + skb_checksum_try_convert(skb, IPPROTO_UDP, ip6_compute_pseudo); ret = udpv6_queue_rcv_skb(sk, skb); |