OSDN Git Service

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)
commit9976ea27b526365c4a9a6d3336a8b06f839ec26d
tree019a8ee5f38fd23232f38fb5dc8433a1f6735f8b
parent322f3d45a17f64494152bd5583b68c8855b539c0
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