summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorYunsheng Lin <linyunsheng@huawei.com>2019-02-23 12:22:13 +0300
committerDavid S. Miller <davem@davemloft.net>2019-02-25 07:27:50 +0300
commitcde4ffada8290c803e5b68423466118e5421c774 (patch)
tree6c76f78a8881cd877f508a3b29bf682e92e0388f /scripts/gdb/linux/utils.py
parent0cccebac710a2ac1ee9a18744e9ee24746f7d947 (diff)
downloadlinux-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