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>
This commit is contained in:
Christoph Hellwig
2011-11-23 06:54:15 -05:00
committed by Nicholas Bellinger
parent ef804a849f
commit 41e16e9816
2 changed files with 1 additions and 8 deletions

View File

@@ -490,7 +490,6 @@ struct se_task {
u32 task_sg_nents;
u16 task_flags;
u8 task_scsi_status;
int task_error_status;
enum dma_data_direction task_data_direction;
atomic_t task_state_active;
struct list_head t_list;