diff options
author | Tianjia Zhang <tianjia.zhang@linux.alibaba.com> | 2021-11-29 14:10:14 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-11-30 14:58:34 +0300 |
commit | dc2724a64e72429856fc22d8eb015225af63129e (patch) | |
tree | 58fd3292051f6d021f093528026a7bcf4c948464 /fs/file.c | |
parent | 4047b9db1aa7512a10ba3560a3f63821c8c40235 (diff) | |
download | linux-dc2724a64e72429856fc22d8eb015225af63129e.tar.xz |
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/file.c')
0 files changed, 0 insertions, 0 deletions