diff options
author | Tianjia Zhang | 2021-11-29 19:10:14 +0800 |
---|---|---|
committer | David S. Miller | 2021-11-30 11:58:34 +0000 |
commit | dc2724a64e72429856fc22d8eb015225af63129e (patch) | |
tree | 58fd3292051f6d021f093528026a7bcf4c948464 /fs/nfs_common | |
parent | 4047b9db1aa7512a10ba3560a3f63821c8c40235 (diff) |
net/tls: simplify the tls_set_sw_offload function
Assigning crypto_info variables in advance can simplify the logic
of accessing value and move related local variables to a smaller
scope.
Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/nfs_common')
0 files changed, 0 insertions, 0 deletions