summaryrefslogtreecommitdiff
path: root/drivers/target/target_core_internal.h
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 /drivers/target/target_core_internal.h
parentb9e063adfb8a812d9c47ff690e645086c6f76f42 (diff)
downloadlwn-5fe99dace4313b0061d46f69e32f981956c92445.tar.gz
lwn-5fe99dace4313b0061d46f69e32f981956c92445.zip
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 'drivers/target/target_core_internal.h')
-rw-r--r--drivers/target/target_core_internal.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/target/target_core_internal.h b/drivers/target/target_core_internal.h
index 82fd5768a662..9c3bca552bb9 100644
--- a/drivers/target/target_core_internal.h
+++ b/drivers/target/target_core_internal.h
@@ -59,7 +59,6 @@ struct target_fabric_configfs {
extern struct t10_alua_lu_gp *default_lu_gp;
/* target_core_device.c */
-int core_alloc_rtpi(struct se_lun *lun, struct se_device *dev);
struct se_dev_entry *core_get_se_deve_from_rtpi(struct se_node_acl *, u16);
void target_pr_kref_release(struct kref *);
void core_free_device_list_for_node(struct se_node_acl *,