diff options
| author | Lang Cheng <chenglang@huawei.com> | 2020-04-15 16:14:35 +0800 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-04-24 10:19:11 -0300 |
| commit | a97bf49f824e357f1cc5d292e247d05271d32afe (patch) | |
| tree | 05ab68f2d7a54bb360b1750d2b5df7261ff74dc7 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 357f342946860b323d1981cc42370516dbb209d2 (diff) | |
| download | linux-a97bf49f824e357f1cc5d292e247d05271d32afe.tar.gz linux-a97bf49f824e357f1cc5d292e247d05271d32afe.zip | |
RDMA/hns: Simplify the status judgment code of hns_roce_v1_m_qp()
Use status table to reduce cyclomatic complexity.
Link: https://lore.kernel.org/r/1586938475-37049-7-git-send-email-liweihang@huawei.com
Signed-off-by: Lang Cheng <chenglang@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
