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

Commit 9a9e3415 authored by Krzysztof Opasiak's avatar Krzysztof Opasiak Committed by Nicholas Bellinger
Browse files

fs: configfs: Drop unused parameter from configfs_undepend_item()



subsys parameter is never used by configfs_undepend_item()
so there is no point in passing it to this function.

Signed-off-by: default avatarKrzysztof Opasiak <k.opasiak@samsung.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent 2628b352
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -278,7 +278,7 @@ EXPORT_SYMBOL(target_depend_item);


void target_undepend_item(struct config_item *item)
void target_undepend_item(struct config_item *item)
{
{
	return configfs_undepend_item(&target_core_fabrics, item);
	return configfs_undepend_item(item);
}
}
EXPORT_SYMBOL(target_undepend_item);
EXPORT_SYMBOL(target_undepend_item);


+1 −2
Original line number Original line Diff line number Diff line
@@ -1128,8 +1128,7 @@ EXPORT_SYMBOL(configfs_depend_item);
 * configfs_depend_item() because we know that that the client driver is
 * configfs_depend_item() because we know that that the client driver is
 * pinned, thus the subsystem is pinned, and therefore configfs is pinned.
 * pinned, thus the subsystem is pinned, and therefore configfs is pinned.
 */
 */
void configfs_undepend_item(struct configfs_subsystem *subsys,
void configfs_undepend_item(struct config_item *target)
			    struct config_item *target)
{
{
	struct configfs_dirent *sd;
	struct configfs_dirent *sd;


+1 −1
Original line number Original line Diff line number Diff line
@@ -757,7 +757,7 @@ int o2nm_depend_item(struct config_item *item)


void o2nm_undepend_item(struct config_item *item)
void o2nm_undepend_item(struct config_item *item)
{
{
	configfs_undepend_item(&o2nm_cluster_group.cs_subsys, item);
	configfs_undepend_item(item);
}
}


int o2nm_depend_this_node(void)
int o2nm_depend_this_node(void)
+3 −2
Original line number Original line Diff line number Diff line
@@ -209,7 +209,8 @@ void configfs_unregister_default_group(struct config_group *group);


/* These functions can sleep and can alloc with GFP_KERNEL */
/* These functions can sleep and can alloc with GFP_KERNEL */
/* WARNING: These cannot be called underneath configfs callbacks!! */
/* WARNING: These cannot be called underneath configfs callbacks!! */
int configfs_depend_item(struct configfs_subsystem *subsys, struct config_item *target);
int configfs_depend_item(struct configfs_subsystem *subsys,
void configfs_undepend_item(struct configfs_subsystem *subsys, struct config_item *target);
			 struct config_item *target);
void configfs_undepend_item(struct config_item *target);


#endif /* _CONFIGFS_H_ */
#endif /* _CONFIGFS_H_ */