]> 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)
commit8c62a7ede1fe5ed1b147d32ae2caeb32fc7fa04b
treeb3a138bc9e9a3141735e4daccde66223e3998117
parent4a9ffa4f2f99a5caab71e8db56a9505084e8a31e
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