diff options
| author | Yunsheng Lin <linyunsheng@huawei.com> | 2019-02-23 17:22:13 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-02-24 20:27:50 -0800 |
| commit | cde4ffada8290c803e5b68423466118e5421c774 (patch) | |
| tree | 6c76f78a8881cd877f508a3b29bf682e92e0388f /net/lapb/lapb_in.c | |
| 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>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
