summaryrefslogtreecommitdiffstats
path: root/include/target
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2011-10-17 13:56:51 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2011-10-24 03:21:49 +0000
commitf2da9dbdb54f2e9fa00dd01af6ff2ab06b4d90b7 (patch)
treec4ae5aa2e59828b35462dcaf1758290c9d999f49 /include/target
parentbfaf40ada2e15bc972cab4cd5452a88720e30647 (diff)
downloadlinux-f2da9dbdb54f2e9fa00dd01af6ff2ab06b4d90b7.tar.bz2
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.h3
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 {
enum transport_state_table {
TRANSPORT_NO_STATE = 0,
TRANSPORT_NEW_CMD = 1,
- TRANSPORT_DEFERRED_CMD = 2,
TRANSPORT_WRITE_PENDING = 3,
TRANSPORT_PROCESS_WRITE = 4,
TRANSPORT_PROCESSING = 5,
@@ -434,8 +433,6 @@ struct se_cmd {
int sam_task_attr;
/* Transport protocol dependent state, see transport_state_table */
enum transport_state_table t_state;
- /* Transport protocol dependent state for out of order CmdSNs */
- int deferred_t_state;
/* Transport specific error status */
int transport_error_status;
/* See se_cmd_flags_table */