diff options
| author | 2019-02-23 17:22:13 +0800 | |
|---|---|---|
| committer | 2019-02-24 20:27:50 -0800 | |
| commit | cde4ffada8290c803e5b68423466118e5421c774 (patch) | |
| tree | 6c76f78a8881cd877f508a3b29bf682e92e0388f /include/linux/debugobjects.h | |
| parent | net: hns3: add unlikely for error handling in data path (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 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
