commit | 3a586422a5533a6c78376a779860f48ed72b9d83 | [log] [tgz] |
---|---|---|
author | Weihang Li <liweihang@hisilicon.com> | Sat Feb 02 22:39:31 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sat Feb 02 08:24:08 2019 -0800 |
tree | 47693ef3cc3ff2e62606404643e30137d5f6ad1e | |
parent | b671b723e0d235b516dc33c163e6296df9b4f0ca [diff] |
net: hns3: move some set_bit statement into hclge_prepare_mac_addr This patch does not change the code logic. There are some same set_bit statements called by add/rm_uc/mc_addr_common, and move this statements into hclge_prepare_mac_addr to reduce duplicate code. Signed-off-by: Weihang Li <liweihang@hisilicon.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>