RDMA/srpt: Remove unnecessary assertion in srpt_queue_response
authorAditya Pakki <pakki001@umn.edu>
Tue, 17 Dec 2019 19:44:37 +0000 (13:44 -0600)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 3 Jan 2020 20:11:47 +0000 (16:11 -0400)
commit9f48db0d4a08624bb9ba847ea40c8abad753b396
tree8fc8d98ad430207cbd019cc9538b4f5d9b70e21a
parenta242c36951ecd24bc16086940dbe6b522205c461
RDMA/srpt: Remove unnecessary assertion in srpt_queue_response

Since ch has already been de-referenced by the time we get to the BUG_ON,
it is useless. The back trace alone is enough to tell what is going on,
delete the redundant BUG_ON.

Link: https://lore.kernel.org/r/20191217194437.25568-1-pakki001@umn.edu
Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/ulp/srpt/ib_srpt.c