Skip to content

Commit 7889042

Browse files
Wang Hairichardweinberger
authored andcommitted
ubifs: Fix some kernel-doc warnings in gc.c
Fixes the following W=1 kernel build warning(s): fs/ubifs/gc.c:70: warning: Excess function parameter 'buf' description in 'switch_gc_head' fs/ubifs/gc.c:70: warning: Excess function parameter 'len' description in 'switch_gc_head' fs/ubifs/gc.c:70: warning: Excess function parameter 'lnum' description in 'switch_gc_head' fs/ubifs/gc.c:70: warning: Excess function parameter 'offs' description in 'switch_gc_head' 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>
1 parent f39d9f4 commit 7889042

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

fs/ubifs/gc.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@
5757
/**
5858
* switch_gc_head - switch the garbage collection journal head.
5959
* @c: UBIFS file-system description object
60-
* @buf: buffer to write
61-
* @len: length of the buffer to write
62-
* @lnum: LEB number written is returned here
63-
* @offs: offset written is returned here
6460
*
6561
* This function switch the GC head to the next LEB which is reserved in
6662
* @c->gc_lnum. Returns %0 in case of success, %-EAGAIN if commit is required,

0 commit comments

Comments
 (0)