aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLang Cheng <[email protected]>2020-04-15 16:14:35 +0800
committerJason Gunthorpe <[email protected]>2020-04-24 10:19:11 -0300
commita97bf49f824e357f1cc5d292e247d05271d32afe (patch)
tree05ab68f2d7a54bb360b1750d2b5df7261ff74dc7 /tools/perf/scripts/python
parent357f342946860b323d1981cc42370516dbb209d2 (diff)
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/[email protected] Signed-off-by: Lang Cheng <[email protected]> Signed-off-by: Weihang Li <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions