RDMA/hns: Remove unnecessary QP type checks
mainline inclusion from mainline-v6.5-rc1 commit b9989ab3 category: cleanup bugzilla: https://gitee.com/openeuler/kernel/issues/I7MIUU CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b9989ab3f61ec459cbaf0a492fea3168bbfa4c7a ---------------------------------------------------------------------- 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> Signed-off-by:
Juan Zhou <zhoujuan51@h-partners.com>
Loading
Please sign in to comment