aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/tcm_fc
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2011-10-17 13:56:50 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2011-10-24 03:21:47 +0000
commitbfaf40ada2e15bc972cab4cd5452a88720e30647 (patch)
tree23f64315f802c1e81b14a80988e1f192813c1133 /drivers/target/tcm_fc
parenttarget: move depth_left manipulation out of transport_generic_request_failure (diff)
downloadlinux-dev-bfaf40ada2e15bc972cab4cd5452a88720e30647.tar.xz
linux-dev-bfaf40ada2e15bc972cab4cd5452a88720e30647.zip
target: remove the TRANSPORT_REMOVE state
We never queue an command with this state, and only set it in a completely bogus place in tcm_fc. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/tcm_fc')
-rw-r--r--drivers/target/tcm_fc/tfc_cmd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/target/tcm_fc/tfc_cmd.c b/drivers/target/tcm_fc/tfc_cmd.c
index 55a278ed1111..6195026cc7b0 100644
--- a/drivers/target/tcm_fc/tfc_cmd.c
+++ b/drivers/target/tcm_fc/tfc_cmd.c
@@ -267,7 +267,6 @@ static void ft_recv_seq(struct fc_seq *sp, struct fc_frame *fp, void *arg)
if (IS_ERR(fp)) {
/* XXX need to find cmd if queued */
- cmd->se_cmd.t_state = TRANSPORT_REMOVE;
cmd->seq = NULL;
transport_generic_free_cmd(&cmd->se_cmd, 0);
return;