RDMA/mlx5: Delete impossible inlen check
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 27 Apr 2020 15:46:25 +0000 (18:46 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 30 Apr 2020 21:45:44 +0000 (18:45 -0300)
commit0ce300b15aad7d3940d0625badcfad353041f5a7
treeb3a138bc9e9a3141735e4daccde66223e3998117
parent03c4077b284056fdb144f84aaa0ac0c80023f597
RDMA/mlx5: Delete impossible inlen check

The inlen is set to be above zero in all flows before
and can't be negative at this stage.

Link: https://lore.kernel.org/r/20200427154636.381474-26-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