ubifs: Fix some kernel-doc warnings in replay.c
authorWang Hai <wanghai38@huawei.com>
Mon, 14 Sep 2020 13:56:53 +0000 (21:56 +0800)
committerRichard Weinberger <richard@nod.at>
Thu, 17 Sep 2020 21:06:53 +0000 (23:06 +0200)
Fixes the following W=1 kernel build warning(s):

fs/ubifs/replay.c:942: warning: Excess function parameter 'ref_lnum' description in 'validate_ref'
fs/ubifs/replay.c:942: warning: Excess function parameter 'ref_offs' description in 'validate_ref'

They're not in use. Remove them.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/replay.c

index b69ffac..2f8d8f4 100644 (file)
@@ -931,8 +931,6 @@ out:
  * validate_ref - validate a reference node.
  * @c: UBIFS file-system description object
  * @ref: the reference node to validate
- * @ref_lnum: LEB number of the reference node
- * @ref_offs: reference node offset
  *
  * This function returns %1 if a bud reference already exists for the LEB. %0 is
  * returned if the reference node is new, otherwise %-EINVAL is returned if