You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
Nicholas Bellinger
parent
9b3118ce8a
commit
dba5ccc7a6
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user