]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8d84ecafc0a0704f67d24282854007079c258289
tree5f0db0949ed1c031f085b7259146dc83660ffb1f
parent5df31fa8633b42ea411971c4bf677c66ddecac13
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