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>
This commit is contained in:
parent
dce6ce8cfb
commit
1a44417548
|
@ -732,12 +732,6 @@ void target_complete_cmd(struct se_cmd *cmd, u8 scsi_status)
|
||||||
|
|
||||||
|
|
||||||
spin_lock_irqsave(&cmd->t_state_lock, flags);
|
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)
|
if (cmd->se_cmd_flags & SCF_TRANSPORT_TASK_SENSE)
|
||||||
success = 1;
|
success = 1;
|
||||||
|
|
||||||
|
|
|
@ -37,10 +37,6 @@ struct target_backend_ops {
|
||||||
const char *, ssize_t);
|
const char *, ssize_t);
|
||||||
ssize_t (*show_configfs_dev_params)(struct se_device *, char *);
|
ssize_t (*show_configfs_dev_params)(struct se_device *, char *);
|
||||||
|
|
||||||
void (*transport_complete)(struct se_cmd *cmd,
|
|
||||||
struct scatterlist *,
|
|
||||||
unsigned char *);
|
|
||||||
|
|
||||||
sense_reason_t (*parse_cdb)(struct se_cmd *cmd);
|
sense_reason_t (*parse_cdb)(struct se_cmd *cmd);
|
||||||
u32 (*get_device_type)(struct se_device *);
|
u32 (*get_device_type)(struct se_device *);
|
||||||
sector_t (*get_blocks)(struct se_device *);
|
sector_t (*get_blocks)(struct se_device *);
|
||||||
|
|
Loading…
Reference in New Issue