summaryrefslogtreecommitdiff
path: root/include/target
diff options
context:
space:
mode:
authorRoman Bolshakov <r.bolshakov@yadro.com>2023-03-01 11:45:11 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2023-03-09 21:29:23 -0500
commit5fe99dace4313b0061d46f69e32f981956c92445 (patch)
treeb2c0e2fe5535401bc894104b3870966c5ca0af61 /include/target
parentb9e063adfb8a812d9c47ff690e645086c6f76f42 (diff)
scsi: target: core: Drop device-based RTPI
The code is not needed since target port-based RTPI allocation replaced it. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com> Signed-off-by: Dmitry Bogdanov <d.bogdanov@yadro.com> Link: https://lore.kernel.org/r/20230301084512.21956-4-d.bogdanov@yadro.com Reviewed-by: Mike Christie <michael.christie@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/target')
-rw-r--r--include/target/target_core_base.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h
index 814edf746395..008e0e4500d1 100644
--- a/include/target/target_core_base.h
+++ b/include/target/target_core_base.h
@@ -735,8 +735,6 @@ struct se_lun {
bool lun_access_ro;
u32 lun_index;
- /* RELATIVE TARGET PORT IDENTIFER */
- u16 lun_rtpi;
atomic_t lun_acl_count;
struct se_device __rcu *lun_se_dev;
@@ -788,8 +786,6 @@ struct se_device_queue {
};
struct se_device {
- /* RELATIVE TARGET PORT IDENTIFER Counter */
- u16 dev_rpti_counter;
/* Used for SAM Task Attribute ordering */
u32 dev_cur_ordered_id;
u32 dev_flags;