linux/drivers/infiniband/ulp
Jing Xiangfeng a7ca4c3ebe IB/srpt: Remove WARN_ON from srpt_cm_req_recv
The callers pass the pointer '&req' or 'private_data' to
srpt_cm_req_recv(), and 'private_data' is initialized in srp_send_req().
'sdev' is allocated and stored in srpt_add_one(). It's easy to show that
sdev and req are always valid. So we remove unnecessary WARN_ON.

Link: https://lore.kernel.org/r/20200617140803.181333-1-jingxiangfeng@huawei.com
Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2020-06-18 15:18:00 -03:00
..
ipoib treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
iser treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
isert treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
opa_vnic treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
rtrs RDMA/cma: Provide ECE reject reason 2020-05-27 16:05:05 -03:00
srp treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
srpt IB/srpt: Remove WARN_ON from srpt_cm_req_recv 2020-06-18 15:18:00 -03:00
Makefile RDMA/rtrs: include client and server modules into kernel compilation 2020-05-17 18:57:15 -03:00