RDMA/hns: Delete unnecessary variable max_post
authorYixian Liu <liuyixian@huawei.com>
Tue, 5 Nov 2019 11:07:54 +0000 (19:07 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 8 Nov 2019 20:37:53 +0000 (16:37 -0400)
commitec6adad0a1e3ef3064c12146b00c2bd1e6835b0c
tree5f0db0949ed1c031f085b7259146dc83660ffb1f
parentffa2fd1323e32093abc23e7d71ed92b85e566ffe
RDMA/hns: Delete unnecessary variable max_post

There is no need to define max_post in hns_roce_wq, as it does same thing
as wqe_cnt.

Link: https://lore.kernel.org/r/1572952082-6681-2-git-send-email-liweihang@hisilicon.com
Signed-off-by: Yixian Liu <liuyixian@huawei.com>
Signed-off-by: Weihang Li <liweihang@hisilicon.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_device.h
drivers/infiniband/hw/hns/hns_roce_qp.c