diff options
| author | Guojia Liao <liaoguojia@huawei.com> | 2020-03-07 11:42:45 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-03-09 19:36:13 -0700 |
| commit | 01c45c521a5aa2e3a077b27d090f05a20012dd65 (patch) | |
| tree | 7da17e7a6c030d1064487a4ada4a69222e6c29ad /tools/perf/scripts/python | |
| parent | net: hns3: remove an unnecessary resetting check in hclge_handle_hw_ras_error() (diff) | |
| download | linux-01c45c521a5aa2e3a077b27d090f05a20012dd65.tar.gz linux-01c45c521a5aa2e3a077b27d090f05a20012dd65.zip | |
net: hns3: delete some reduandant code
In hclge_add_mc_addr_common() and hclge_rm_mc_addr_common(),
variable req had been set as "0" by memset(), so it's unnecessary
to set .entry_type field as "0" with hnae3_set_bit() again.
Signed-off-by: Guojia Liao <liaoguojia@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
