aboutsummaryrefslogtreecommitdiffstats
path: root/include/target
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2011-11-23 06:54:15 -0500
committerNicholas Bellinger <nab@linux-iscsi.org>2011-12-14 06:26:44 -0500
commit41e16e981679124c78c30f046d4f0b71d86ff1b2 (patch)
tree2db886814e0f8b9b39d8e8b836e3598d128d14e1 /include/target
parentef804a849ffae058a783e9dddd24cc1a555bbdb4 (diff)
target: remove the se_task task_error_status field
We only reach transport_complete_task once per task, so the test and set on task_error_status is never going to have an effect. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target')
-rw-r--r--include/target/target_core_base.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h
index 7f3acdde97de..e2473e6770b3 100644
--- a/include/target/target_core_base.h
+++ b/include/target/target_core_base.h
@@ -490,7 +490,6 @@ struct se_task {
490 u32 task_sg_nents; 490 u32 task_sg_nents;
491 u16 task_flags; 491 u16 task_flags;
492 u8 task_scsi_status; 492 u8 task_scsi_status;
493 int task_error_status;
494 enum dma_data_direction task_data_direction; 493 enum dma_data_direction task_data_direction;
495 atomic_t task_state_active; 494 atomic_t task_state_active;
496 struct list_head t_list; 495 struct list_head t_list;