diff options
author | Lang Cheng <chenglang@huawei.com> | 2019-08-08 22:53:46 +0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2019-08-12 10:45:08 -0400 |
commit | 6def7de6d450893852802794ab44d8053672cf88 (patch) | |
tree | 42d292955b6c9325f9ce64d6b7b2d89796d15da6 /drivers/infiniband/hw/hns/hns_roce_mr.c | |
parent | RDMA/hns: Clean up unnecessary initial assignment (diff) | |
download | linux-dev-6def7de6d450893852802794ab44d8053672cf88.tar.xz linux-dev-6def7de6d450893852802794ab44d8053672cf88.zip |
RDMA/hns: Update some comments style
Here removes some useless comments and adds necessary spaces to
another comments.
Signed-off-by: Lang Cheng <chenglang@huawei.com>
Link: https://lore.kernel.org/r/1565276034-97329-7-git-send-email-oulijun@huawei.com
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/infiniband/hw/hns/hns_roce_mr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/hns/hns_roce_mr.c b/drivers/infiniband/hw/hns/hns_roce_mr.c index 0cfa94605f77..8157679021b9 100644 --- a/drivers/infiniband/hw/hns/hns_roce_mr.c +++ b/drivers/infiniband/hw/hns/hns_roce_mr.c @@ -517,7 +517,6 @@ static int hns_roce_mhop_alloc(struct hns_roce_dev *hr_dev, int npages, if (mhop_num == HNS_ROCE_HOP_NUM_0) return 0; - /* hop_num = 1 */ if (mhop_num == 1) return pbl_1hop_alloc(hr_dev, npages, mr, pbl_bt_sz); |