RDMA/mlx5: Delete unsupported QP types
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 27 Apr 2020 15:46:19 +0000 (18:46 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 30 Apr 2020 21:45:42 +0000 (18:45 -0300)
commit3ae7e66a019e18896c46fcbb7ae28bfc343331c4
treea9eda8d563b1cdea5201ede68bcc88e944602dca
parentdfb25edd972af23819efcded636d0df5ab37c38f
RDMA/mlx5: Delete unsupported QP types

There is no need to explicitly check unsupported QP types,
rely on  "default" keyword in switch-case to catch them.

Link: https://lore.kernel.org/r/20200427154636.381474-20-leon@kernel.org
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/qp.c