]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf3d5aa716d4ac617f9e306b78aae0d9192590a17
treeb3a138bc9e9a3141735e4daccde66223e3998117
parent1021785a10dc42b35bcfaec8800c7757eff6c307
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