Skip to contentSkip to conversation

mm-remove-unused-marco-writeback.patch removed from -mm tree

merged [email protected] 1 participant 1 message Oct 14, 2020

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mm/memory-failure.c: remove unused macro `writeback'
has been removed from the -mm tree. Its filename was
mm-remove-unused-marco-writeback.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Alex Shi <[email protected]>
Subject: mm/memory-failure.c: remove unused macro `writeback'

Unlike others we don't use the marco writeback. so let's remove it to tame gcc warning:

mm/memory-failure.c:827: warning: macro "writeback" is not used [-Wunused-macros]

---

 mm/memory-failure.c |    2 --
 1 file changed, 2 deletions(-)
mm/memory-failure.c renamed from mm/memory-failure.c~mm-remove-unused-marco-writeback +0 -2
@@ -825,7 +825,6 @@ static int me_huge_page(struct page *p,
 #define sc		((1UL << PG_swapcache) | (1UL << PG_swapbacked))
 #define unevict		(1UL << PG_unevictable)
 #define mlock		(1UL << PG_mlocked)
-#define writeback	(1UL << PG_writeback)
 #define lru		(1UL << PG_lru)
 #define head		(1UL << PG_head)
 #define slab		(1UL << PG_slab)
@@ -874,7 +873,6 @@ static struct page_state {
 #undef sc
 #undef unevict
 #undef mlock
-#undef writeback
 #undef lru
 #undef head
 #undef slab

_

Patches currently in -mm which might be from [email protected] are