summaryrefslogtreecommitdiffstats
path: root/net/can
diff options
context:
space:
mode:
authorNghia Le <nghialm78@gmail.com>2021-11-04 15:37:40 +0100
committerJakub Kicinski <kuba@kernel.org>2021-11-06 03:49:40 +0100
commit70bf363d7adb3a428773bc905011d0ff923ba747 (patch)
tree412e66bc2c0fec63f964116e796ad18f380fbcd1 /net/can
parentMerge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf (diff)
downloadlinux-70bf363d7adb3a428773bc905011d0ff923ba747.tar.xz
linux-70bf363d7adb3a428773bc905011d0ff923ba747.zip
ipv6: remove useless assignment to newinet in tcp_v6_syn_recv_sock()
The newinet value is initialized with inet_sk() in a block code to handle sockets for the ETH_P_IP protocol. Along this code path, newinet is never read. Thus, assignment to newinet is needless and can be removed. Signed-off-by: Nghia Le <nghialm78@gmail.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Link: https://lore.kernel.org/r/20211104143740.32446-1-nghialm78@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/can')
0 files changed, 0 insertions, 0 deletions