mm: remove unused marco writeback
Subsystems (2)
PATCH 1/1 mm: remove unused marco 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]
Signed-off-by Alex Shi <[email protected]>
Cc Naoya Horiguchi <[email protected]>
Cc Andrew Morton <[email protected]>
--- mm/memory-failure.c | 2 -- 1 file changed, 2 deletions(-)
mm/memory-failure.c +0 -2
@@ -824,7 +824,6 @@ static int me_huge_page(struct page *p, unsigned long pfn)#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)
@@ -873,7 +872,6 @@ static int me_huge_page(struct page *p, unsigned long pfn)#undef sc#undef unevict#undef mlock -#undef writeback#undef lru#undef head#undef slab
Signature · 1 line
1.8.3.1