OSDN Git Service

RDMA/hns: Remove redundant assignment of caps
authorWenpeng Liang <liangwenpeng@huawei.com>
Thu, 30 Apr 2020 10:31:31 +0000 (18:31 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 6 May 2020 20:33:20 +0000 (17:33 -0300)
commite4faa478c6b8af5fc4afe20de693417354a57e4d
tree97878482d29371f3c3ee19060e7038dc3fba2505
parentb713128de7a17c7173f869323f8a5f0593e52538
RDMA/hns: Remove redundant assignment of caps

These caps are assigned in query_pf_caps() or set_default_caps(), and
should not be assigned out of these two functions.

Link: https://lore.kernel.org/r/1588242691-12913-4-git-send-email-liweihang@huawei.com
Signed-off-by: Wenpeng Liang <liangwenpeng@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