summaryrefslogtreecommitdiffstats
path: root/fs/kernfs
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2015-04-23 17:14:31 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-24 12:28:29 -0700
commitba50150e80088e159ac80f0e71243ae2fa0c4901 (patch)
treecefefe1237c1b66220555331e1f4d4c652205182 /fs/kernfs
parentec0ccc16a09fc32f7142ef3ddf1c2276fbbb35d0 (diff)
downloadblackbird-op-linux-ba50150e80088e159ac80f0e71243ae2fa0c4901.tar.gz
blackbird-op-linux-ba50150e80088e159ac80f0e71243ae2fa0c4901.zip
kernfs: remove outdated and confusing comment
Grabbing the parent is not happening anymore since 2010 (e72ceb8ccac5f7 "sysfs: Remove sysfs_get/put_active_two"). Remove this confusing comment. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/kernfs')
-rw-r--r--fs/kernfs/file.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/kernfs/file.c b/fs/kernfs/file.c
index 2bacb9988566..7247252ee9b1 100644
--- a/fs/kernfs/file.c
+++ b/fs/kernfs/file.c
@@ -785,7 +785,6 @@ static unsigned int kernfs_fop_poll(struct file *filp, poll_table *wait)
struct kernfs_node *kn = filp->f_path.dentry->d_fsdata;
struct kernfs_open_node *on = kn->attr.open;
- /* need parent for the kobj, grab both */
if (!kernfs_get_active(kn))
goto trigger;
OpenPOWER on IntegriCloud