Commit 06a21ad7 authored by Yixian Liu's avatar Yixian Liu Committed by Yang Yingliang
Browse files

RDMA/hns: Delete unnecessary variable max_post

mainline  inclusion
from mainline-v5.5
commit ec6adad0
category: bugfix
bugzilla: NA
CVE: NA

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: default avatarYixian Liu <liuyixian@huawei.com>
Signed-off-by: default avatarWeihang Li <liweihang@hisilicon.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
Signed-off-by: default avatarShunfeng Yang <yangshunfeng2@huawei.com>
Reviewed-by: default avatarchunzhi hu <huchunzhi@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 8e1bf02b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment