summaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_internal.h
diff options
context:
space:
mode:
authorMike Christie <mchristi@redhat.com>2017-06-23 01:18:18 -0500
committerNicholas Bellinger <nab@linux-iscsi.org>2017-07-06 23:11:41 -0700
commitbe50f538e9a5081c61a78faf58c5591c94064633 (patch)
treedaa4e8b81b0dbb866212cc985661a6276a6148df /drivers/target/target_core_internal.h
parent6906d008b4b06e42cad393ac25bec76fbf31fabd (diff)
downloadtalos-op-linux-be50f538e9a5081c61a78faf58c5591c94064633.tar.gz
talos-op-linux-be50f538e9a5081c61a78faf58c5591c94064633.zip
target: remove g_device_list
g_device_list is no longer needed because we now use the idr code for lookups and seaches. Signed-off-by: Mike Christie <mchristi@redhat.com> Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_internal.h')
-rw-r--r--drivers/target/target_core_internal.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/target/target_core_internal.h b/drivers/target/target_core_internal.h
index 1d3ac0238568..f30e8ac13386 100644
--- a/drivers/target/target_core_internal.h
+++ b/drivers/target/target_core_internal.h
@@ -56,9 +56,6 @@ struct target_fabric_configfs {
extern struct t10_alua_lu_gp *default_lu_gp;
/* target_core_device.c */
-extern struct mutex g_device_mutex;
-extern struct list_head g_device_list;
-
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 *);
OpenPOWER on IntegriCloud