aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorYunsheng Lin <linyunsheng@huawei.com>2019-08-01 11:55:40 +0800
committerDavid S. Miller <davem@davemloft.net>2019-08-01 13:32:13 -0400
commitb6872fd361056f3bce3e9fcfe9535c4b6b737531 (patch)
treeb28dd2a61c919db686a8d88fcd61835c4c02200f /scripts/stackusage
parentnet: hns3: minor cleanup in hns3_clean_rx_ring (diff)
downloadlinux-b6872fd361056f3bce3e9fcfe9535c4b6b737531.tar.gz
linux-b6872fd361056f3bce3e9fcfe9535c4b6b737531.zip
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 <linyunsheng@huawei.com> Reviewed-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions