diff options
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/ulp/srpt/ib_srpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/srpt/ib_srpt.c b/drivers/infiniband/ulp/srpt/ib_srpt.c index b08ca7a9f76b..564024e0123a 100644 --- a/drivers/infiniband/ulp/srpt/ib_srpt.c +++ b/drivers/infiniband/ulp/srpt/ib_srpt.c | |||
@@ -2328,7 +2328,7 @@ static void srpt_release_channel_work(struct work_struct *w) | |||
2328 | se_sess = ch->sess; | 2328 | se_sess = ch->sess; |
2329 | BUG_ON(!se_sess); | 2329 | BUG_ON(!se_sess); |
2330 | 2330 | ||
2331 | target_wait_for_sess_cmds(se_sess, 0); | 2331 | target_wait_for_sess_cmds(se_sess); |
2332 | 2332 | ||
2333 | transport_deregister_session_configfs(se_sess); | 2333 | transport_deregister_session_configfs(se_sess); |
2334 | transport_deregister_session(se_sess); | 2334 | transport_deregister_session(se_sess); |