diff options
| author | Yunsheng Lin <linyunsheng@huawei.com> | 2019-02-23 12:22:13 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-02-25 07:27:50 +0300 |
| commit | cde4ffada8290c803e5b68423466118e5421c774 (patch) | |
| tree | 6c76f78a8881cd877f508a3b29bf682e92e0388f /scripts/gdb/linux/utils.py | |
| parent | 0cccebac710a2ac1ee9a18744e9ee24746f7d947 (diff) | |
| download | linux-cde4ffada8290c803e5b68423466118e5421c774.tar.xz | |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
