summaryrefslogtreecommitdiff
path: root/net/ipv4/nexthop.c
diff options
context:
space:
mode:
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>2021-11-29 14:10:14 +0300
committerDavid S. Miller <davem@davemloft.net>2021-11-30 14:58:34 +0300
commitdc2724a64e72429856fc22d8eb015225af63129e (patch)
tree58fd3292051f6d021f093528026a7bcf4c948464 /net/ipv4/nexthop.c
parent4047b9db1aa7512a10ba3560a3f63821c8c40235 (diff)
downloadlinux-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 'net/ipv4/nexthop.c')
0 files changed, 0 insertions, 0 deletions