Commit 284a8650 authored by Junxian Huang's avatar Junxian Huang Committed by Greg Kroah-Hartman
Browse files

RDMA/hns: Remove unnecessary QP type checks

[ Upstream commit b9989ab3 ]

It is not necessary to check the type of the queue on IO path because
unsupported QP type cannot be created.

Link: https://lore.kernel.org/r/20230523121641.3132102-2-huangjunxian6@hisilicon.com


Signed-off-by: default avatarChengchang Tang <tangchengchang@huawei.com>
Signed-off-by: default avatarJunxian Huang <huangjunxian6@hisilicon.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@nvidia.com>
Stable-dep-of: 323275ac ("RDMA/hns: Fix cpu stuck caused by printings during reset")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 7519e81d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment