summaryrefslogtreecommitdiffstats
path: root/block/blk-crypto-internal.h
diff options
context:
space:
mode:
authorGeliang Tang <geliang.tang@suse.com>2023-10-25 16:37:08 -0700
committerJakub Kicinski <kuba@kernel.org>2023-10-27 08:47:30 -0700
commita6c85fc61c088c7ef43ba81e80b48c263a80602a (patch)
treea0bf50ae00cf5ef0126a8011fa0372b1760f97f9 /block/blk-crypto-internal.h
parenta16c054b527bbaed611fef03e8b19e111a1769ef (diff)
downloadlinux-a6c85fc61c088c7ef43ba81e80b48c263a80602a.tar.gz
linux-a6c85fc61c088c7ef43ba81e80b48c263a80602a.tar.bz2
linux-a6c85fc61c088c7ef43ba81e80b48c263a80602a.zip
mptcp: move sk assignment statement ahead
If we move the sk assignment statement ahead in mptcp_nl_cmd_sf_create() or mptcp_nl_cmd_sf_destroy(), right after the msk null-check statements, sk can be used after the create_err or destroy_err labels instead of open-coding it again. Reviewed-by: Matthieu Baerts <matttbe@kernel.org> Signed-off-by: Geliang Tang <geliang.tang@suse.com> Signed-off-by: Mat Martineau <martineau@kernel.org> Link: https://lore.kernel.org/r/20231025-send-net-next-20231025-v1-7-db8f25f798eb@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'block/blk-crypto-internal.h')
0 files changed, 0 insertions, 0 deletions