target: remove transport_complete

transport_complete is no longer used, so drop the code.

Signed-off-by: Mike Christie <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
This commit is contained in:
Mike Christie 2017-05-31 15:52:42 -05:00 • committed by Nicholas Bellinger
commit 1a44417548
2 changed files with 0 additions and 10 deletions

View file

@ -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;