mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
target: Remove unused wait_for_tasks bit in target_wait_for_sess_cmds
Drop unused transport_wait_for_tasks() check in target_wait_for_sess_cmds shutdown code, and convert tcm_qla2xxx + ib_srpt fabric drivers. Cc: Joern Engel <[email protected]> Cc: Roland Dreier <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>
This commit is contained in:
parent
c7788792a5
commit
be646c2d2b
4 changed files with 8 additions and 26 deletions
|
|
@ -1370,7 +1370,7 @@ static void tcm_qla2xxx_free_session(struct qla_tgt_sess *sess)
|
|||
dump_stack();
|
||||
return;
|
||||
}
|
||||
target_wait_for_sess_cmds(se_sess, 0);
|
||||
target_wait_for_sess_cmds(se_sess);
|
||||
|
||||
transport_deregister_session_configfs(sess->se_sess);
|
||||
transport_deregister_session(sess->se_sess);
|
||||
|
|
|
|||
Loading…
Reference in a new issue