]> 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)
commit76871b08c4e445cc2eff91e5df9f4dbafeffd771
tree019a8ee5f38fd23232f38fb5dc8433a1f6735f8b
parentcbc068ee5b8498fa18976d9c7729aaa133327a97
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