]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hfi1: Delete unreachable code
authorLeon Romanovsky <leonro@mellanox.com>
Tue, 29 Oct 2019 06:27:36 +0000 (08:27 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 13 Nov 2019 00:20:14 +0000 (20:20 -0400)
commit393cbdd7b121e5c7959e9474f46499d3d5125d78
treee701e6d51d9d77fb34211053e2b12304f954d2bf
parenta294567e76abb8efc7cde9d4d83666267012ed9b
RDMA/hfi1: Delete unreachable code

All callers allocate MAD structures with proper sizes, there is no need to
recheck it.

Link: https://lore.kernel.org/r/20191029062745.7932-8-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hfi1/mad.c