aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2012-04-23 11:35:32 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2012-05-06 18:03:46 -0400
commitbd31377878868a47b2d2e6f570fb0cace828555b (patch)
treef42aca1e190ab4bf4a1cca98e5a354b81a9a33c2 /drivers/target
parent7a83aa4e7b26ba61b9dc98d5c0bf725f4df0043f (diff)
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 <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target')
-rw-r--r--drivers/target/target_core_transport.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c
index 9c9c11dc307e..be580ab7afac 100644
--- a/drivers/target/target_core_transport.c
+++ b/drivers/target/target_core_transport.c
@@ -3723,8 +3723,6 @@ transport_allocate_data_tasks(struct se_cmd *cmd,
3723 task->task_sg = cmd_sg; 3723 task->task_sg = cmd_sg;
3724 task->task_sg_nents = sgl_nents; 3724 task->task_sg_nents = sgl_nents;
3725 3725
3726 task->task_sectors = sectors;
3727
3728 spin_lock_irqsave(&cmd->t_state_lock, flags); 3726 spin_lock_irqsave(&cmd->t_state_lock, flags);
3729 list_add_tail(&task->t_list, &cmd->t_task_list); 3727 list_add_tail(&task->t_list, &cmd->t_task_list);
3730 spin_unlock_irqrestore(&cmd->t_state_lock, flags); 3728 spin_unlock_irqrestore(&cmd->t_state_lock, flags);