]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Optimize hns_roce_v2_set_mac()
authorLijun Ou <oulijun@huawei.com>
Wed, 15 Apr 2020 08:14:31 +0000 (16:14 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 24 Apr 2020 13:19:10 +0000 (10:19 -0300)
commit7ace6619417ceca8eb4391673438d814297cfb3f
tree5970f0a880f9ed9a30247c9abebd82025cb60924
parent76871b08c4e445cc2eff91e5df9f4dbafeffd771
RDMA/hns: Optimize hns_roce_v2_set_mac()

Removes the unnecessary memset opertaion and adjust style of some lines in
hns_roce_v2_set_mac().

Link: https://lore.kernel.org/r/1586938475-37049-3-git-send-email-liweihang@huawei.com
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c