mm-vmscanc-fix-wunused-but-set-variable-warning.patch removed from -mm tree
The patch titled
Subject: mm/vmscan.c: fix -Wunused-but-set-variable warning
has been removed from the -mm tree. Its filename was
mm-vmscanc-fix-wunused-but-set-variable-warning.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Kai Song <[email protected]>
Subject: mm/vmscan.c: fix -Wunused-but-set-variable warning
We fix the following warning when building kernel with W=1:mm/vmscan.c:1362:6: warning: variable 'err' set but not used [-Wunused-but-set-variable]
Signed-off-by Kai Song <[email protected]>
Reviewed-by Yang Shi <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/vmscan.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
mm/vmscan.c renamed from mm/vmscan.c~mm-vmscanc-fix-wunused-but-set-variable-warning +1 -2
@@ -1337,7 +1337,6 @@ static unsigned int demote_page_list(str {int target_nid =next_demotion_node (pgdat->node_id);unsigned int nr_succeeded; -int err;if (list_empty (demote_pages))return 0 ;
@@ -1346,7 +1345,7 @@ static unsigned int demote_page_list(strreturn 0 ;/* Demotion ignores all cpuset and mempolicy settings */ - err =migrate_pages (demote_pages, alloc_demote_page,NULL , +migrate_pages (demote_pages, alloc_demote_page,NULL , target_nid,MIGRATE_ASYNC ,MR_DEMOTION , &nr_succeeded);
_
Patches currently in -mm which might be from [email protected] are