aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/configfs.h
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2015-12-11 10:06:09 -0500
committerNicholas Bellinger <nab@linux-iscsi.org>2015-12-20 21:03:57 -0500
commit9a9e3415edd567813d52c8de402042b9720c54f5 (patch)
treeb5482c888f410c0aa6f916139e784d41d023fdcd /include/linux/configfs.h
parent2628b352c3d4905adf8129ea50900bd980b6ccef (diff)
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: Krzysztof Opasiak <k.opasiak@samsung.com> Cc: Joel Becker <jlbec@evilplan.org> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/linux/configfs.h')
-rw-r--r--include/linux/configfs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/configfs.h b/include/linux/configfs.h
index 758a029011b1..3b5c6d58b0d2 100644
--- a/include/linux/configfs.h
+++ b/include/linux/configfs.h
@@ -209,7 +209,8 @@ void configfs_unregister_default_group(struct config_group *group);
209 209
210/* These functions can sleep and can alloc with GFP_KERNEL */ 210/* These functions can sleep and can alloc with GFP_KERNEL */
211/* WARNING: These cannot be called underneath configfs callbacks!! */ 211/* WARNING: These cannot be called underneath configfs callbacks!! */
212int configfs_depend_item(struct configfs_subsystem *subsys, struct config_item *target); 212int configfs_depend_item(struct configfs_subsystem *subsys,
213void configfs_undepend_item(struct configfs_subsystem *subsys, struct config_item *target); 213 struct config_item *target);
214void configfs_undepend_item(struct config_item *target);
214 215
215#endif /* _CONFIGFS_H_ */ 216#endif /* _CONFIGFS_H_ */