diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-08-16 13:39:07 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2019-08-20 18:57:09 +0200 |
commit | a7325af725e83ae1a4e7a2290250dd1c952b672d (patch) | |
tree | 0091f23982108316ca05d9beade1592bde146719 /drivers/infiniband | |
parent | RDMA/hns: Remove unuseful member (diff) | |
download | linux-a7325af725e83ae1a4e7a2290250dd1c952b672d.tar.xz linux-a7325af725e83ae1a4e7a2290250dd1c952b672d.zip |
RDMA/hns: Fix some white space check_mtu_validate()
This line was indented a bit too far.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20190816113907.GA30799@mwanda
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/hw/hns/hns_roce_qp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/hns/hns_roce_qp.c b/drivers/infiniband/hw/hns/hns_roce_qp.c index ec6b5dd3f442..ba8176869f51 100644 --- a/drivers/infiniband/hw/hns/hns_roce_qp.c +++ b/drivers/infiniband/hw/hns/hns_roce_qp.c @@ -1091,7 +1091,7 @@ static int check_mtu_validate(struct hns_roce_dev *hr_dev, int p; p = attr_mask & IB_QP_PORT ? (attr->port_num - 1) : hr_qp->port; - active_mtu = iboe_get_mtu(hr_dev->iboe.netdevs[p]->mtu); + active_mtu = iboe_get_mtu(hr_dev->iboe.netdevs[p]->mtu); if ((hr_dev->caps.max_mtu >= IB_MTU_2048 && attr->path_mtu > hr_dev->caps.max_mtu) || |