commit | 1c1270da47a290cd3c880b933bb06073c0365e2c | [log] [tgz] |
---|---|---|
author | Huazhong Tan <tanhuazhong@huawei.com> | Mon Jul 02 15:50:21 2018 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 02 22:49:14 2018 +0900 |
tree | 662fbbf2e9074c0be85e69a8adb3f114c6125bd1 | |
parent | 043fa454f43dcd70e9821f392968970ce9dab7f8 [diff] |
net: hns3: simplify hclge_cmd_csq_clean csq is used as a ring buffer, the value of the desc will be replaced in next use. This patch removes the unnecessary memset, and just updates the next_to_clean. Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>