summaryrefslogtreecommitdiffstats
path: root/drivers/target
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2012-06-18 00:40:51 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2012-07-17 02:29:12 +0200
commite1306bdab3af8bef620990a99e613f99eb30065c (patch)
tree8712e8e9777bdc59f44f6801decf94d077c33135 /drivers/target
parenttarget/iscsi: Remove dead code in lio_get_tpg_from_tpg_item() (diff)
downloadlinux-e1306bdab3af8bef620990a99e613f99eb30065c.tar.xz
linux-e1306bdab3af8bef620990a99e613f99eb30065c.zip
target: remove dead SCF_ flags
Remove the dead SCF_SE_ALLOW_EOO and SCF_DELAYED_CMD_FROM_SAM_ATTR from se_cmd_flags_table. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target')
-rw-r--r--drivers/target/target_core_transport.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c
index 1c53fcec1133..82946962796d 100644
--- a/drivers/target/target_core_transport.c
+++ b/drivers/target/target_core_transport.c
@@ -1933,7 +1933,6 @@ static void target_execute_cmd(struct se_cmd *cmd)
if (atomic_read(&dev->dev_ordered_sync) != 0) {
spin_lock(&dev->delayed_cmd_lock);
- cmd->se_cmd_flags |= SCF_DELAYED_CMD_FROM_SAM_ATTR;
list_add_tail(&cmd->se_delayed_node, &dev->delayed_cmd_list);
spin_unlock(&dev->delayed_cmd_lock);