diff options
author | Jian Shen <[email protected]> | 2019-08-01 11:55:38 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-08-01 13:32:13 -0400 |
commit | 6e4139f69163fb5769c92a97b969ea0d9a114ced (patch) | |
tree | fd7fb2ce651291bbe7b3796b8f1f4ecfa70e8613 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | a723fb8efe29d3912d2be41edcf38b76f8d6ed36 (diff) |
net: hns3: remove unnecessary variable in hclge_get_mac_vlan_cmd_status()
The local variable return_status in hclge_get_mac_val_cmd_status()
is useless. So this patch returns the error code directly, instead of
using this variable. Also, replace some '%d' with '%u' in
hclge_get_mac_val_cmd_status().
Signed-off-by: Jian Shen <[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/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions