commit | cde4ffada8290c803e5b68423466118e5421c774 | [log] [tgz] |
---|---|---|
author | Yunsheng Lin <linyunsheng@huawei.com> | Sat Feb 23 17:22:13 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Feb 24 20:27:50 2019 -0800 |
tree | 6c76f78a8881cd877f508a3b29bf682e92e0388f | |
parent | 0cccebac710a2ac1ee9a18744e9ee24746f7d947 [diff] |
net: hns3: replace hnae3_set_bit and hnae3_set_field in data path hnae3_set_bit and hnae3_set_field masks the data before setting the field or bit, which is unnecessary because the data is already zero initialized. Suggested-by: John Garry <john.garry@huawei.com> Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>