commit be12af3ef5e6 ("getting rid of 'opened' argument of ->atomic_open() - part 1") remove the last parameter 'opened' but forgot update the kernel-doc. So is the commit ae2bb293a3e8 ("get rid of cred argument of vfs_open() and do_dentry_open()"). Let's remove the redundant parameter description. Fixes: be12af3ef5e6 ("getting rid of 'opened' argument of ->atomic_open() - part 1") Fixes: ae2bb293a3e8 ("get rid of cred argument of vfs_open() and do_dentry_open()") Signed-off-by: Xiongfeng Wang <wangxiongfeng2@xxxxxxxxxx> --- fs/open.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/open.c b/fs/open.c index a81319b6177f..d35965434f70 100644 --- a/fs/open.c +++ b/fs/open.c @@ -951,7 +951,6 @@ static int do_dentry_open(struct file *f, * @file: file pointer * @dentry: pointer to dentry * @open: open callback - * @opened: state of open * * This can be used to finish opening a file passed to i_op->atomic_open(). * @@ -1005,7 +1004,6 @@ EXPORT_SYMBOL(file_path); * vfs_open - open the file at the given path * @path: path to open * @file: newly allocated file with f_flag initialized - * @cred: credentials to use */ int vfs_open(const struct path *path, struct file *file) { -- 2.20.1