aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWang Hai <wanghai38@huawei.com>2020-09-14 21:56:53 +0800
committerRichard Weinberger <richard@nod.at>2020-09-17 23:06:53 +0200
commitf279e5a491fd96c1347c3268dacc771dc796778e (patch)
tree1ccedfccddfa26f03aa75b739dcf256fbaf9c129
parentubifs: Fix some kernel-doc warnings in gc.c (diff)
downloadlinux-dev-f279e5a491fd96c1347c3268dacc771dc796778e.tar.xz
linux-dev-f279e5a491fd96c1347c3268dacc771dc796778e.zip
ubifs: Fix some kernel-doc warnings in replay.c
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>
-rw-r--r--fs/ubifs/replay.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ubifs/replay.c b/fs/ubifs/replay.c
index b69ffac7e415..2f8d8f4f411a 100644
--- a/fs/ubifs/replay.c
+++ b/fs/ubifs/replay.c
@@ -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