diff --git a/srpt/src/ib_srpt.c b/srpt/src/ib_srpt.c index 8a9bdea44..580e48b1e 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -2642,16 +2642,7 @@ static void srpt_cm_rtu_recv(struct ib_cm_id *cm_id) BUG_ON(!ch); if (srpt_test_and_set_ch_state(ch, CH_CONNECTING, CH_LIVE)) { - struct srpt_recv_ioctx *ioctx, *ioctx_tmp; - ret = srpt_ch_qp_rts(ch, ch->qp); - - list_for_each_entry_safe(ioctx, ioctx_tmp, &ch->cmd_wait_list, - wait_list) { - list_del(&ioctx->wait_list); - srpt_handle_new_iu(ch, ioctx, NULL, - SCST_CONTEXT_THREAD); - } if (ret) srpt_close_ch(ch); }