From: Wolfram Sang Date: Thu, 23 Apr 2015 15:14:31 +0000 (+0200) Subject: kernfs: remove outdated and confusing comment X-Git-Tag: v4.2-rc1~89^2~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ba50150e80088e159ac80f0e71243ae2fa0c4901;p=thirdparty%2Fkernel%2Flinux.git 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 Acked-by: Tejun Heo Signed-off-by: Greg Kroah-Hartman --- diff --git a/fs/kernfs/file.c b/fs/kernfs/file.c index 2bacb99885665..7247252ee9b1b 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;