summaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_transport.c
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 /drivers/target/target_core_transport.c
parent9b3118ce8a942706f65cf5de82a6de967a9fbe74 (diff)
downloadtalos-obmc-linux-dba5ccc7a67713fccb7726057d8df826672a7257.tar.gz
talos-obmc-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 'drivers/target/target_core_transport.c')
-rw-r--r--drivers/target/target_core_transport.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c
index 717c73bbebec..c0e112c4de28 100644
--- a/drivers/target/target_core_transport.c
+++ b/drivers/target/target_core_transport.c
@@ -502,7 +502,6 @@ void transport_deregister_session(struct se_session *se_sess)
if (se_nacl && se_nacl->dynamic_node_acl) {
if (!se_tfo->tpg_check_demo_mode_cache(se_tpg)) {
list_del(&se_nacl->acl_list);
- se_tpg->num_node_acls--;
drop_nacl = true;
}
}
OpenPOWER on IntegriCloud