aboutsummaryrefslogtreecommitdiffstats
path: root/include/target
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2011-10-12 11:07:00 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2011-10-23 23:21:05 -0400
commit42bf829eee0e36371a3df43978b14572c716cbe7 (patch)
tree2f488a819a713a2cfb8c093e4779ffe312291cc3 /include/target
parentc0427f155614908ca1147cd5b6a0d5cdcaef8327 (diff)
target: Cleanup unused se_task bits
This is a squashed version of the following se_task cleanup patches: target: remove the unused task_state_flags field in se_task target: remove the unused se_obj_ptr field in se_task target: remove the se_dev field in se_task 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.h3
-rw-r--r--include/target/target_core_transport.h3
2 files changed, 0 insertions, 6 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h
index c00224e8d6c4..6c49db403205 100644
--- a/include/target/target_core_base.h
+++ b/include/target/target_core_base.h
@@ -405,7 +405,6 @@ struct se_task {
405 u8 task_scsi_status; 405 u8 task_scsi_status;
406 u8 task_flags; 406 u8 task_flags;
407 int task_error_status; 407 int task_error_status;
408 int task_state_flags;
409 bool task_padded_sg; 408 bool task_padded_sg;
410 unsigned long long task_lba; 409 unsigned long long task_lba;
411 u32 task_no; 410 u32 task_no;
@@ -413,7 +412,6 @@ struct se_task {
413 u32 task_size; 412 u32 task_size;
414 enum dma_data_direction task_data_direction; 413 enum dma_data_direction task_data_direction;
415 struct se_cmd *task_se_cmd; 414 struct se_cmd *task_se_cmd;
416 struct se_device *se_dev;
417 struct completion task_stop_comp; 415 struct completion task_stop_comp;
418 atomic_t task_active; 416 atomic_t task_active;
419 atomic_t task_execute_queue; 417 atomic_t task_execute_queue;
@@ -422,7 +420,6 @@ struct se_task {
422 atomic_t task_stop; 420 atomic_t task_stop;
423 atomic_t task_state_active; 421 atomic_t task_state_active;
424 struct timer_list task_timer; 422 struct timer_list task_timer;
425 struct se_device *se_obj_ptr;
426 struct list_head t_list; 423 struct list_head t_list;
427 struct list_head t_execute_list; 424 struct list_head t_execute_list;
428 struct list_head t_state_list; 425 struct list_head t_state_list;
diff --git a/include/target/target_core_transport.h b/include/target/target_core_transport.h
index ccd85b380d6b..c93cf0ae37a4 100644
--- a/include/target/target_core_transport.h
+++ b/include/target/target_core_transport.h
@@ -45,9 +45,6 @@
45#define TRANSPORT_TIMEOUT_TYPE_TAPE 600 45#define TRANSPORT_TIMEOUT_TYPE_TAPE 600
46#define TRANSPORT_TIMEOUT_TYPE_OTHER 300 46#define TRANSPORT_TIMEOUT_TYPE_OTHER 300
47 47
48/* For se_task->task_state_flags */
49#define TSF_EXCEPTION_CLEARED 0x01
50
51/* 48/*
52 * struct se_subsystem_dev->su_dev_flags 49 * struct se_subsystem_dev->su_dev_flags
53*/ 50*/