diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2015-06-05 16:17:51 -0700 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2017-02-09 00:39:16 -0800 |
commit | b2c9652eba6c11787b5f6cfa53aaea752f58809e (patch) | |
tree | 53ca67e4911c939f8a65dcc5cf3f568b973f8562 /drivers/target | |
parent | fd5e64def9170392fdf258d1eee5966433ee3d45 (diff) | |
download | talos-obmc-linux-b2c9652eba6c11787b5f6cfa53aaea752f58809e.tar.gz talos-obmc-linux-b2c9652eba6c11787b5f6cfa53aaea752f58809e.zip |
target: Remove command flag CMD_T_DEV_ACTIVE
The code that tests the CMD_T_DEV_ACTIVE flag has been removed. Hence
also remove the flag itself.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Andy Grover <agrover@redhat.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target')
-rw-r--r-- | drivers/target/target_core_transport.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c index 012ed95c3f40..22190003534d 100644 --- a/drivers/target/target_core_transport.c +++ b/drivers/target/target_core_transport.c @@ -1223,7 +1223,6 @@ void transport_init_se_cmd( init_completion(&cmd->cmd_wait_comp); spin_lock_init(&cmd->t_state_lock); kref_init(&cmd->cmd_kref); - cmd->transport_state = CMD_T_DEV_ACTIVE; cmd->se_tfo = tfo; cmd->se_sess = se_sess; |