diff mbox series

[-next] fs_parser: Fix 'name' kernel-doc warning in validate_constant_table()

Message ID 20200911120454.70466-1-wanghai38@huawei.com (mailing list archive)
State New, archived
Headers show
Series [-next] fs_parser: Fix 'name' kernel-doc warning in validate_constant_table() | expand

Commit Message

Wang Hai Sept. 11, 2020, 12:04 p.m. UTC
Fixes the following W=1 kernel build warning(s):

fs/fs_parser.c:322: warning: Excess function parameter 'name' description in 'validate_constant_table'

This parameter is not in use. Remove it.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
---
 fs/fs_parser.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/fs/fs_parser.c b/fs/fs_parser.c
index ab53e42a874..a5bd6ea5a03 100644
--- a/fs/fs_parser.c
+++ b/fs/fs_parser.c
@@ -310,7 +310,6 @@  EXPORT_SYMBOL(fs_param_is_path);
 #ifdef CONFIG_VALIDATE_FS_PARSER
 /**
  * validate_constant_table - Validate a constant table
- * @name: Name to use in reporting
  * @tbl: The constant table to validate.
  * @tbl_size: The size of the table.
  * @low: The lowest permissible value.