diff options
author | Eric Dumazet <edumazet@google.com> | 2023-09-12 12:17:29 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-09-14 17:16:36 +0300 |
commit | 729549aa350c56a777bb342941ed4d69b6585769 (patch) | |
tree | b7a3717d106b7e04565a23a12fce1f485cb15d79 /net/ipv6 | |
parent | 70a36f571362a8de8b8c02d21ae524fc776287f2 (diff) | |
download | linux-729549aa350c56a777bb342941ed4d69b6585769.tar.xz |
udplite: remove UDPLITE_BIT
This flag is set but never read, we can remove it.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/udplite.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv6/udplite.c b/net/ipv6/udplite.c index 267d491e9707..a60bec9b14f1 100644 --- a/net/ipv6/udplite.c +++ b/net/ipv6/udplite.c @@ -17,7 +17,6 @@ static int udplitev6_sk_init(struct sock *sk) { udpv6_init_sock(sk); - udp_sk(sk)->pcflag = UDPLITE_BIT; pr_warn_once("UDP-Lite is deprecated and scheduled to be removed in 2025, " "please contact the netdev mailing list\n"); return 0; |