IB/srp: Move ib_destroy_cm_id() call into srp_free_ch_ib()
authorBart Van Assche <bvanassche@acm.org>
Thu, 30 Oct 2014 13:46:27 +0000 (14:46 +0100)
committerChristoph Hellwig <hch@lst.de>
Wed, 12 Nov 2014 10:32:01 +0000 (11:32 +0100)
commit394c595ee8c3256db7200a3dedbf2d1811ca0b40
treef345aa5ee85504af5486579c5d1f63c7f1531ecb
parent9493c2422cae272d6f1f567cbb424195defe4176
IB/srp: Move ib_destroy_cm_id() call into srp_free_ch_ib()

The patch that adds multichannel support into the SRP initiator
driver introduces an additional call to srp_free_ch_ib(). This
patch helps to keep that later patch simple.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/infiniband/ulp/srp/ib_srp.c