[PATCH -next] fs: Fix one kernel-doc comment

From: Yang Li
Date: Thu May 26 2022 - 09:38:10 EST


Remove one warning found by running scripts/kernel-doc,
which is caused by using 'make W=1'.
fs/open.c:979: warning: Excess function parameter 'cred' description in
'vfs_open'

Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
Signed-off-by: Yang Li <yang.lee@xxxxxxxxxxxxxxxxx>
---
fs/open.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/fs/open.c b/fs/open.c
index 1d57fbde2feb..4791b9a367f1 100644
--- a/fs/open.c
+++ b/fs/open.c
@@ -973,7 +973,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.7.g153144c