summaryrefslogtreecommitdiffstats
path: root/include/target
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2012-10-10 23:37:14 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2012-11-07 05:55:45 +0100
commit019c4ca621488739b1bfb7597a14ac7f0cbcc908 (patch)
tree2717b223b7a5d1fbd8765805879b87446ea98862 /include/target
parentpscsi: fix REPORT LUNS handling (diff)
downloadlinux-019c4ca621488739b1bfb7597a14ac7f0cbcc908.tar.xz
linux-019c4ca621488739b1bfb7597a14ac7f0cbcc908.zip
target: kill dev->dev_task_attr_type
We can just key off ordered tag emulation of the transport_type field. 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.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h
index f6355fc325a8..15af1307d064 100644
--- a/include/target/target_core_base.h
+++ b/include/target/target_core_base.h
@@ -233,16 +233,6 @@ typedef enum {
} t10_alua_index_t;
/*
- * Used by TCM Core internally to signal if SAM Task Attribute emulation
- * is enabled or disabled, or running in with TCM/pSCSI passthrough mode
- */
-typedef enum {
- SAM_TASK_ATTR_PASSTHROUGH,
- SAM_TASK_ATTR_UNTAGGED,
- SAM_TASK_ATTR_EMULATED
-} t10_task_attr_index_t;
-
-/*
* Used for target SCSI statistics
*/
typedef enum {
@@ -686,7 +676,6 @@ struct se_device {
u32 queue_depth;
/* Used for SPC-2 reservations enforce of ISIDs */
u64 dev_res_bin_isid;
- t10_task_attr_index_t dev_task_attr_type;
/* Pointer to transport specific device structure */
u32 dev_index;
u64 creation_time;