writeback-remove-the-unused-function-parameter.patch removed from -mm tree
The patch titled
Subject: writeback: remove unused function parameter
has been removed from the -mm tree. Its filename was
writeback-remove-the-unused-function-parameter.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Wang Long <[email protected]>
Subject: writeback: remove unused function parameter
The parameter struct bdi_writeback *wb is not been used in the function body. Remove it.
Signed-off-by Wang Long <[email protected]>
Reviewed-by Jan Kara <[email protected]>
Acked-by Tejun Heo <[email protected]>
Cc Jens Axboe <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
include/linux/backing-dev.h | 2 +- mm/page-writeback.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
include/linux/backing-dev.h renamed from include/linux/backing-dev.h~writeback-remove-the-unused-function-parameter +1 -1
@@ -93,7 +93,7 @@ extern void wb_writeout_inc(struct bdi_w/* * 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 ;
mm/page-writeback.c renamed from mm/page-writeback.c~writeback-remove-the-unused-function-parameter +2 -2
@@ -1545,7 +1545,7 @@ static inline void wb_dirty_limits(struc* actually dirty; with m+n sitting in the percpu * deltas. */ -if (dtc->wb_thresh <2 *wb_stat_error (wb)) { +if (dtc->wb_thresh <2 *wb_stat_error ()) { wb_reclaimable =wb_stat_sum (wb,WB_RECLAIMABLE ); dtc->wb_dirty = wb_reclaimable +wb_stat_sum (wb,WB_WRITEBACK ); }else {
@@ -1803,7 +1803,7 @@ pause:* more page. However wb_dirty has accounting errors. So use * the larger and more IO friendly wb_stat_error. */ -if (sdtc->wb_dirty <=wb_stat_error (wb)) +if (sdtc->wb_dirty <=wb_stat_error ())break ;if (fatal_signal_pending (current))
_
Patches currently in -mm which might be from [email protected] are