]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mptcp: remove the redundant assignment of 'new_ctx->tcp_sock' in subflow_ulp_clone()
authorMoYuanhao <moyuanhao3676@163.com>
Wed, 6 Nov 2024 07:10:35 +0000 (15:10 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 9 Nov 2024 17:09:07 +0000 (09:09 -0800)
commit7d28f4fc868ccc26124d368e8d2ead9d21c23542
tree3c41ec273d52f5ebb8ea0002444cd94e089ca28c
parent580db513b4a9d52f306580015a1872eea0a0894e
mptcp: remove the redundant assignment of 'new_ctx->tcp_sock' in subflow_ulp_clone()

The variable has already been assigned in the subflow_create_ctx(),
So we don't need to reassign this variable in the subflow_ulp_clone().

Signed-off-by: MoYuanhao <moyuanhao3676@163.com>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20241106071035.2591-1-moyuanhao3676@163.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/subflow.c