mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
target: make close_session optional
Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>
This commit is contained in:
parent
22d11759a4
commit
36ec2ddc0d
8 changed files with 2 additions and 41 deletions
|
|
@ -1399,10 +1399,6 @@ static void scsiback_release_cmd(struct se_cmd *se_cmd)
|
|||
percpu_ida_free(&se_sess->sess_tag_pool, se_cmd->map_tag);
|
||||
}
|
||||
|
||||
static void scsiback_close_session(struct se_session *se_sess)
|
||||
{
|
||||
}
|
||||
|
||||
static u32 scsiback_sess_get_index(struct se_session *se_sess)
|
||||
{
|
||||
return 0;
|
||||
|
|
@ -1836,7 +1832,6 @@ static const struct target_core_fabric_ops scsiback_ops = {
|
|||
.tpg_get_inst_index = scsiback_tpg_get_inst_index,
|
||||
.check_stop_free = scsiback_check_stop_free,
|
||||
.release_cmd = scsiback_release_cmd,
|
||||
.close_session = scsiback_close_session,
|
||||
.sess_get_index = scsiback_sess_get_index,
|
||||
.sess_get_initiator_sid = NULL,
|
||||
.write_pending = scsiback_write_pending,
|
||||
|
|
|
|||
Loading…
Reference in a new issue