target: remove the task_sectors field in struct se_task

Remove the task_sectors field that isn't used anywhere.

Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
This commit is contained in:
Christoph Hellwig 2012-04-23 11:35:32 -04:00 • committed by Nicholas Bellinger
commit bd31377878
2 changed files with 0 additions and 3 deletions

View file

@ -3723,8 +3723,6 @@ transport_allocate_data_tasks(struct se_cmd *cmd,
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);