Remove the task_sectors field that isn't used anywhere.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
task->task_sg = cmd_sg;
task->task_sg_nents = sgl_nents;
- task->task_sectors = sectors;
-
spin_lock_irqsave(&cmd->t_state_lock, flags);
list_add_tail(&task->t_list, &cmd->t_task_list);
spin_unlock_irqrestore(&cmd->t_state_lock, flags);
};
struct se_task {
- u32 task_sectors;
struct se_cmd *task_se_cmd;
struct scatterlist *task_sg;
u32 task_sg_nents;