summaryrefslogtreecommitdiffstats
path: root/include/target
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2016-01-05 14:45:03 +0100
committerNicholas Bellinger <nab@linux-iscsi.org>2016-01-07 13:57:53 -0800
commitdba5ccc7a67713fccb7726057d8df826672a7257 (patch)
tree5ce39b796897116978de87350854aeb3e8843abf /include/target
parent9b3118ce8a942706f65cf5de82a6de967a9fbe74 (diff)
downloadlinux-dba5ccc7a67713fccb7726057d8df826672a7257.tar.gz
linux-dba5ccc7a67713fccb7726057d8df826672a7257.tar.bz2
linux-dba5ccc7a67713fccb7726057d8df826672a7257.zip
target: Remove an unused variable
The num_node_acls member in struct se_portal_group is modified by several functions but is never read. Hence remove it. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Andy Grover <agrover@redhat.com> Cc: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target')
-rw-r--r--include/target/target_core_base.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h
index 4b258fcc7d6f..a4bed07f92a9 100644
--- a/include/target/target_core_base.h
+++ b/include/target/target_core_base.h
@@ -868,8 +868,6 @@ struct se_portal_group {
* Negative values can be used by fabric drivers for internal use TPGs.
*/
int proto_id;
- /* Number of ACLed Initiator Nodes for this TPG */
- u32 num_node_acls;
/* Used for PR SPEC_I_PT=1 and REGISTER_AND_MOVE */
atomic_t tpg_pr_ref_count;
/* Spinlock for adding/removing ACLed Nodes */