diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-10-17 13:56:51 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-10-23 23:21:49 -0400 |
commit | f2da9dbdb54f2e9fa00dd01af6ff2ab06b4d90b7 (patch) | |
tree | c4ae5aa2e59828b35462dcaf1758290c9d999f49 /include/target | |
parent | bfaf40ada2e15bc972cab4cd5452a88720e30647 (diff) |
target: remove TRANSPORT_DEFERRED_CMD state
We never check for this state, and it makes testing for a completed
state much harder given that it overrides the existing state.
Also remove the unused deferred_t_state which is related to it.
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.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h index ced065c1428d..6e2dc3ebff37 100644 --- a/include/target/target_core_base.h +++ b/include/target/target_core_base.h | |||
@@ -83,7 +83,6 @@ enum se_task_flags { | |||
83 | enum transport_state_table { | 83 | enum transport_state_table { |
84 | TRANSPORT_NO_STATE = 0, | 84 | TRANSPORT_NO_STATE = 0, |
85 | TRANSPORT_NEW_CMD = 1, | 85 | TRANSPORT_NEW_CMD = 1, |
86 | TRANSPORT_DEFERRED_CMD = 2, | ||
87 | TRANSPORT_WRITE_PENDING = 3, | 86 | TRANSPORT_WRITE_PENDING = 3, |
88 | TRANSPORT_PROCESS_WRITE = 4, | 87 | TRANSPORT_PROCESS_WRITE = 4, |
89 | TRANSPORT_PROCESSING = 5, | 88 | TRANSPORT_PROCESSING = 5, |
@@ -434,8 +433,6 @@ struct se_cmd { | |||
434 | int sam_task_attr; | 433 | int sam_task_attr; |
435 | /* Transport protocol dependent state, see transport_state_table */ | 434 | /* Transport protocol dependent state, see transport_state_table */ |
436 | enum transport_state_table t_state; | 435 | enum transport_state_table t_state; |
437 | /* Transport protocol dependent state for out of order CmdSNs */ | ||
438 | int deferred_t_state; | ||
439 | /* Transport specific error status */ | 436 | /* Transport specific error status */ |
440 | int transport_error_status; | 437 | int transport_error_status; |
441 | /* See se_cmd_flags_table */ | 438 | /* See se_cmd_flags_table */ |