From: Wolfram Sang Date: Thu, 23 Apr 2015 15:14:31 +0000 (+0200) Subject: kernfs: remove outdated and confusing comment X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ba50150e80088e159ac80f0e71243ae2fa0c4901;p=linux-beck.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 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;