aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorYunsheng Lin <[email protected]>2019-08-01 11:55:39 +0800
committerDavid S. Miller <[email protected]>2019-08-01 13:32:13 -0400
commita4ee7624c003cc73a2eac9d9d5317b0c9fed89c4 (patch)
treec2c214964ec40d6e28c1cffa3ac5989a8c6b4b49 /tools/perf/scripts/python/event_analyzing_sample.py
parent6e4139f69163fb5769c92a97b969ea0d9a114ced (diff)
net: hns3: minor cleanup in hns3_clean_rx_ring
The unused_count variable is used to indicate how many RX BD need attaching new buffer in hns3_clean_rx_ring, and the clean_count variable has the similar meaning. This patch removes the clean_count variable and use unused_count to uniformly indicate the RX BD that need attaching new buffer. This patch also clean up some coding style related to variable assignment in hns3_clean_rx_ring. Signed-off-by: Yunsheng Lin <[email protected]> Reviewed-by: Peng Li <[email protected]> Signed-off-by: Huazhong Tan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions