summaryrefslogtreecommitdiff
path: root/drivers/target
diff options
context:
space:
mode:
authorMike Christie <mchristi@redhat.com>2017-05-31 15:52:42 -0500
committerNicholas Bellinger <nab@linux-iscsi.org>2017-07-06 23:11:47 -0700
commit1a444175486026c1a280507f8d82094909acddd2 (patch)
tree819de347c8502a233172520895b3a573ed19bd52 /drivers/target
parentdce6ce8cfb842c333094c3eb2e3ea66b1edb02ad (diff)
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.c6
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;