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:40 +0800
committerDavid S. Miller <[email protected]>2019-08-01 13:32:13 -0400
commitb6872fd361056f3bce3e9fcfe9535c4b6b737531 (patch)
treeb28dd2a61c919db686a8d88fcd61835c4c02200f /tools/perf/scripts/python/event_analyzing_sample.py
parenta4ee7624c003cc73a2eac9d9d5317b0c9fed89c4 (diff)
net: hns3: minior error handling change for hclge_tm_schd_info_init
When hclge_tm_schd_info_update calls hclge_tm_schd_info_init to initialize the schedule info, hdev->tm_info.num_pg and hdev->tx_sch_mode is not changed, which makes the checking in hclge_tm_schd_info_init unnecessary. So this patch moves the hdev->tm_info.num_pg and hdev->tx_sch_mode checking into hclge_tm_schd_init and changes the return type of hclge_tm_schd_info_init from int to void. 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