summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorLijun Ou <oulijun@huawei.com>2017-09-29 23:10:08 +0800
committerDoug Ledford <dledford@redhat.com>2017-09-29 12:02:30 -0400
commitf44c863be282f575becb1aacb69fd42f8ea53c6d (patch)
tree0369a875beaab3cdb5d2cc9f678fe58decb9bb34 /tools/perf/scripts/python/bin/stackcollapse-record
parentbe7acd9d01c65a5d947ecd36d7b78b838b7313e5 (diff)
RDMA/hns: Refactor code for readability
Put the code for checking the send doorbell status into a separate function and call it from check_qp_db_process_status to improve indenting and readability. It fixes the warning from static checker: drivers/infiniband/hw/hns/hns_roce_hw_v1.c:3562 check_qp_db_process_status() warn: inconsistent indenting. Fixes: 5f110ac4bed8 ("IB/hns: Fix for checkpatch.pl comment style) Signed-off-by: Lijun Ou <oulijun@huawei.com> Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com> Signed-off-by: Shaobo Xu <xushaobo2@huawei.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions