summaryrefslogtreecommitdiffstats
path: root/drivers/target
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2015-12-11 16:06:09 +0100
committerNicholas Bellinger <nab@linux-iscsi.org>2015-12-20 18:03:57 -0800
commit9a9e3415edd567813d52c8de402042b9720c54f5 (patch)
treeb5482c888f410c0aa6f916139e784d41d023fdcd /drivers/target
parent2628b352c3d4905adf8129ea50900bd980b6ccef (diff)
downloadlinux-9a9e3415edd567813d52c8de402042b9720c54f5.tar.gz
linux-9a9e3415edd567813d52c8de402042b9720c54f5.tar.bz2
linux-9a9e3415edd567813d52c8de402042b9720c54f5.zip
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 'drivers/target')
-rw-r--r--drivers/target/target_core_configfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/target_core_configfs.c b/drivers/target/target_core_configfs.c
index b9b9ffde4c7a..2e47fe68e4ea 100644
--- a/drivers/target/target_core_configfs.c
+++ b/drivers/target/target_core_configfs.c
@@ -278,7 +278,7 @@ EXPORT_SYMBOL(target_depend_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);