mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-07 06:52:07 +00:00
writeback: remove unused function parameter
The parameter `struct bdi_writeback *wb` is not been used in the function body. Remove it. Link: http://lkml.kernel.org/r/1509685485-15278-1-git-send-email-wanglong19@meituan.com Signed-off-by: Wang Long <wanglong19@meituan.com> Reviewed-by: Jan Kara <jack@suse.cz> Acked-by: Tejun Heo <tj@kernel.org> Cc: Jens Axboe <axboe@kernel.dk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
0a7f682d04
commit
2bce774e82
2 changed files with 3 additions and 3 deletions
|
@ -93,7 +93,7 @@ extern void wb_writeout_inc(struct bdi_writeback *wb);
|
|||
/*
|
||||
* maximal error of a stat counter.
|
||||
*/
|
||||
static inline unsigned long wb_stat_error(struct bdi_writeback *wb)
|
||||
static inline unsigned long wb_stat_error(void)
|
||||
{
|
||||
#ifdef CONFIG_SMP
|
||||
return nr_cpu_ids * WB_STAT_BATCH;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue