]> 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)
commit0b287b2d56c68f0e51af1696f8adda5f1ff55978
tree5970f0a880f9ed9a30247c9abebd82025cb60924
parentfb351679e0bd9b9e68bb4483c189acdd8930f686
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