commit | ffd0a922cdea3f37438aeb76a154da1775e82626 | [log] [tgz] |
---|---|---|
author | Huazhong Tan <tanhuazhong@huawei.com> | Thu Apr 04 16:17:54 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 04 10:20:39 2019 -0700 |
tree | b8033bbbf9b860246edbdfeb4350df92c44e159b | |
parent | ceca4a5e3223dbb99c062990a64f7a8c32906674 [diff] |
net: hns3: simplify hclgevf_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>