diff options
author | Bart Van Assche <bvanassche@acm.org> | 2019-09-30 16:22:24 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-10-03 22:00:09 -0400 |
commit | 27f722ccbe1563629275bb7ee30c0e307f5837a2 (patch) | |
tree | 686f27d74d64eafec715c0e13d38b4b7373277e9 /include/target | |
parent | 7cd4cb94cf4f3bfd070d78714d4fe249700250a8 (diff) | |
download | linux-stable-27f722ccbe1563629275bb7ee30c0e307f5837a2.tar.gz linux-stable-27f722ccbe1563629275bb7ee30c0e307f5837a2.tar.bz2 linux-stable-27f722ccbe1563629275bb7ee30c0e307f5837a2.zip |
scsi: target: Remove tpg_list and se_portal_group.se_tpg_node
Maintaining tpg_list without ever iterating over it is not useful. Hence
remove tpg_list. This patch does not change the behavior of the SCSI target
code.
Cc: Mike Christie <mchristie@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Nicholas Bellinger <nab@linux-iscsi.org>
Link: https://lore.kernel.org/r/20190930232224.58980-1-bvanassche@acm.org
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/target')
-rw-r--r-- | include/target/target_core_base.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h index 7c9716fe731e..1728e883b7b2 100644 --- a/include/target/target_core_base.h +++ b/include/target/target_core_base.h @@ -876,7 +876,6 @@ struct se_portal_group { /* Spinlock for adding/removing sessions */ spinlock_t session_lock; struct mutex tpg_lun_mutex; - struct list_head se_tpg_node; /* linked list for initiator ACL list */ struct list_head acl_node_list; struct hlist_head tpg_lun_hlist; |