summaryrefslogtreecommitdiffstats
path: root/crypto/proc.c
diff options
context:
space:
mode:
authorHao Lan <lanhao@huawei.com>2022-09-16 10:38:02 +0800
committerJakub Kicinski <kuba@kernel.org>2022-09-21 14:32:21 -0700
commit09431ed8de874881e2d5d430042d718ae074d371 (patch)
tree8eca8bb4b483662ec62a81ccdf07e1f97c7bd089 /crypto/proc.c
parentdfea275e06c26690b1ef27399fd84ce50372b85c (diff)
downloadlinux-stable-09431ed8de874881e2d5d430042d718ae074d371.tar.gz
linux-stable-09431ed8de874881e2d5d430042d718ae074d371.tar.bz2
linux-stable-09431ed8de874881e2d5d430042d718ae074d371.zip
net: hns3: refactor function hclge_mbx_handler()
Currently, the function hclge_mbx_handler() has too many switch-case statements, it makes this function too long. To improve code readability, refactor this function and use lookup table instead. Signed-off-by: Hao Lan <lanhao@huawei.com> Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'crypto/proc.c')
0 files changed, 0 insertions, 0 deletions