diff options
author | Christoph Hellwig <hch@infradead.org> | 2012-10-10 21:37:14 (GMT) |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-11-07 04:55:45 (GMT) |
commit | 019c4ca621488739b1bfb7597a14ac7f0cbcc908 (patch) | |
tree | 2717b223b7a5d1fbd8765805879b87446ea98862 /drivers/target/target_core_device.c | |
parent | e6c4219b54ac9d0bd348ea59e606303f9aef1784 (diff) | |
download | linux-fsl-qoriq-019c4ca621488739b1bfb7597a14ac7f0cbcc908.tar.xz |
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 'drivers/target/target_core_device.c')
-rw-r--r-- | drivers/target/target_core_device.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/target/target_core_device.c b/drivers/target/target_core_device.c index e45a709..6a27e7f 100644 --- a/drivers/target/target_core_device.c +++ b/drivers/target/target_core_device.c @@ -1412,11 +1412,6 @@ struct se_device *target_alloc_device(struct se_hba *hba, const char *name) dev->dev_attrib.fabric_max_sectors = DA_FABRIC_MAX_SECTORS; dev->dev_attrib.optimal_sectors = DA_FABRIC_MAX_SECTORS; - if (dev->transport->transport_type == TRANSPORT_PLUGIN_PHBA_PDEV) - dev->dev_task_attr_type = SAM_TASK_ATTR_PASSTHROUGH; - else - dev->dev_task_attr_type = SAM_TASK_ATTR_EMULATED; - return dev; } |