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:Chengchang Tang <tangchengchang@huawei.com> Signed-off-by:
Junxian Huang <huangjunxian6@hisilicon.com> Signed-off-by:
Jason Gunthorpe <jgg@nvidia.com> Stable-dep-of: 323275ac ("RDMA/hns: Fix cpu stuck caused by printings during reset") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading