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

Remove the unnecessary memset operation and adjust style of some lines in
hns_roce_config_link_table().

Link: https://lore.kernel.org/r/1586938475-37049-2-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