diff options
author | Christoph Hellwig <hch@infradead.org> | 2012-04-24 00:25:09 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-05-06 15:11:28 -0700 |
commit | d5dc28eb92f2a2305a02cb3a5f1ed36542d47512 (patch) | |
tree | 97f2721b2eaa270a329d4dd556cd254a94bdb41b /include/target | |
parent | d43d6aea844e66b847e3a0e5cb2c24b6ba84908a (diff) | |
download | linux-d5dc28eb92f2a2305a02cb3a5f1ed36542d47512.tar.gz linux-d5dc28eb92f2a2305a02cb3a5f1ed36542d47512.tar.bz2 linux-d5dc28eb92f2a2305a02cb3a5f1ed36542d47512.zip |
target: remove the t_se_count field in struct se_cmd
Now that tasks are gone we are guaranteed to only get a single completion
per command, and thus don't need this counter.
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 | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h index 6c83b14b3075..927771aff1f7 100644 --- a/include/target/target_core_base.h +++ b/include/target/target_core_base.h @@ -548,7 +548,6 @@ struct se_cmd { unsigned char __t_task_cdb[TCM_MAX_COMMAND_SIZE]; unsigned long long t_task_lba; atomic_t t_fe_count; - atomic_t t_se_count; unsigned int transport_state; #define CMD_T_ABORTED (1 << 0) #define CMD_T_ACTIVE (1 << 1) |