]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
target: remove the unused SCF_CMD_XCOPY_PASSTHROUGH flag
authorChristoph Hellwig <hch@lst.de>
Tue, 7 Apr 2015 17:11:16 +0000 (19:11 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 8 Apr 2015 06:27:59 +0000 (23:27 -0700)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_xcopy.c
include/target/target_core_base.h

index 04cad3b362974aea8eb92a409e00bbd9b925b661..b09b40e058a0ccbf32105e2cb6d979c10c90a210 100644 (file)
@@ -553,7 +553,7 @@ static int target_xcopy_init_pt_lun(
         * target_xcopy_setup_pt_port()
         */
        if (!remote_port) {
-               pt_cmd->se_cmd_flags |= SCF_SE_LUN_CMD | SCF_CMD_XCOPY_PASSTHROUGH;
+               pt_cmd->se_cmd_flags |= SCF_SE_LUN_CMD;
                return 0;
        }
 
@@ -561,7 +561,7 @@ static int target_xcopy_init_pt_lun(
        pt_cmd->se_dev = se_dev;
 
        pr_debug("Setup emulated se_dev: %p from se_dev\n", pt_cmd->se_dev);
-       pt_cmd->se_cmd_flags |= SCF_SE_LUN_CMD | SCF_CMD_XCOPY_PASSTHROUGH;
+       pt_cmd->se_cmd_flags |= SCF_SE_LUN_CMD;
 
        pr_debug("Setup emulated se_dev: %p to pt_cmd->se_lun->lun_se_dev\n",
                pt_cmd->se_lun->lun_se_dev);
index fe25a78fff467d05eda4836580f41310bf416c20..71699cf3cc7113150a3bd84d51584c1fd40d9367 100644 (file)
@@ -168,7 +168,6 @@ enum se_cmd_flags_table {
        SCF_ACK_KREF                    = 0x00040000,
        SCF_COMPARE_AND_WRITE           = 0x00080000,
        SCF_COMPARE_AND_WRITE_POST      = 0x00100000,
-       SCF_CMD_XCOPY_PASSTHROUGH       = 0x00200000,
 };
 
 /* struct se_dev_entry->lun_flags and struct se_lun->lun_access */