diff options
author | Mike Christie <mchristi@redhat.com> | 2017-05-31 22:52:42 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2017-07-07 08:11:47 +0200 |
commit | 1a444175486026c1a280507f8d82094909acddd2 (patch) | |
tree | 819de347c8502a233172520895b3a573ed19bd52 /drivers/target | |
parent | pscsi: finish cmd processing from pscsi_req_done (diff) | |
download | linux-1a444175486026c1a280507f8d82094909acddd2.tar.xz linux-1a444175486026c1a280507f8d82094909acddd2.zip |
target: remove transport_complete
transport_complete is no longer used, so drop the code.
Signed-off-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target')
-rw-r--r-- | drivers/target/target_core_transport.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c index 341025a3cbb7..b9122a56784e 100644 --- a/drivers/target/target_core_transport.c +++ b/drivers/target/target_core_transport.c @@ -732,12 +732,6 @@ void target_complete_cmd(struct se_cmd *cmd, u8 scsi_status) spin_lock_irqsave(&cmd->t_state_lock, flags); - - if (dev && dev->transport->transport_complete) { - dev->transport->transport_complete(cmd, - cmd->t_data_sg, - transport_get_sense_buffer(cmd)); - } if (cmd->se_cmd_flags & SCF_TRANSPORT_TASK_SENSE) success = 1; |