RDMA/hns: Clear redundant variable initialization
authorXinhao Liu <liuxinhao5@hisilicon.com>
Fri, 11 Dec 2020 01:37:34 +0000 (09:37 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 11 Dec 2020 19:21:35 +0000 (15:21 -0400)
commit62f3b70ed656640ecb63432014f4bb258cb1975a
tree14c921b866db43f39ca3832c272217c982d38d15
parentdc93a0d987fcfe93b132871e72d4ea5aff36dd5c
RDMA/hns: Clear redundant variable initialization

There is no need to initialize some variable because they will be assigned
with a value later.

Link: https://lore.kernel.org/r/1607650657-35992-9-git-send-email-liweihang@huawei.com
Signed-off-by: Xinhao Liu <liuxinhao5@hisilicon.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_hem.c
drivers/infiniband/hw/hns/hns_roce_hw_v1.c