diff options
author | Huazhong Tan <tanhuazhong@huawei.com> | 2018-07-02 10:50:21 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-02 16:49:14 +0300 |
commit | 1c1270da47a290cd3c880b933bb06073c0365e2c (patch) | |
tree | 662fbbf2e9074c0be85e69a8adb3f114c6125bd1 /net/unix/af_unix.c | |
parent | 043fa454f43dcd70e9821f392968970ce9dab7f8 (diff) | |
download | linux-1c1270da47a290cd3c880b933bb06073c0365e2c.tar.xz |
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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions