Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 697a35d7 authored by Bart Van Assche's avatar Bart Van Assche Committed by Doug Ledford
Browse files

IB/srpt: Remove struct srpt_node_acl



Since struct srpt_node_acl is identical to struct se_node_acl,
remove the definition of the former structure. This patch does
not change any functionality.

Signed-off-by: default avatarBart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarAlex Estrin <alex.estrin@intel.com>
Cc: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 9d2aa2b4
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -3508,7 +3508,6 @@ static struct configfs_attribute *srpt_wwn_attrs[] = {
static const struct target_core_fabric_ops srpt_template = {
	.module				= THIS_MODULE,
	.name				= "srpt",
	.node_acl_size			= sizeof(struct srpt_node_acl),
	.get_fabric_name		= srpt_get_fabric_name,
	.tpg_get_wwn			= srpt_get_fabric_wwn,
	.tpg_get_tag			= srpt_get_tag,
+0 −8
Original line number Diff line number Diff line
@@ -363,12 +363,4 @@ struct srpt_device {
	struct list_head	list;
};

/**
 * struct srpt_node_acl - Per-initiator ACL data (managed via configfs).
 * @nacl:      Target core node ACL information.
 */
struct srpt_node_acl {
	struct se_node_acl	nacl;
};

#endif				/* IB_SRPT_H */