Skip to contentSkip to conversation

s390/mm: remove unused cmma functions

PATCH Applied David Hildenbrand 2 participants 2 messages Aug 6, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 s390/mm: remove unused cmma functions

The last user of arch_set_page_states(), arch_set_page_nodat() and arch_test_page_nodat() was removed in commit 394216275c7d ("s390: remove broken hibernate / power management support"), let's remove these functions.

Cc Heiko Carstens <[email protected]>
Cc Vasily Gorbik <[email protected]>
Cc Christian Borntraeger <[email protected]>
---
 arch/s390/include/asm/page.h |  3 ---
 arch/s390/mm/page-states.c   | 43 ------------------------------------
 2 files changed, 46 deletions(-)
arch/s390/include/asm/page.h +0 -3
index 3ba945c6b9dc..d98d17a36c7b 100644
@@ -144,9 +144,6 @@ struct page;
 void arch_free_page(struct page *page, int order);
 void arch_alloc_page(struct page *page, int order);
 void arch_set_page_dat(struct page *page, int order);
-void arch_set_page_nodat(struct page *page, int order);
-int arch_test_page_nodat(struct page *page);
-void arch_set_page_states(int make_stable);
 
 static inline int devmem_is_allowed(unsigned long pfn)
 {
arch/s390/mm/page-states.c +0 -43

46 lines not on this page · raw message

base-commit: c500bee1c5b2f1d59b1081ac879d73268ab0ff17

Signature · 1 line
2.31.1
maintainer Applied
#1 lore raw
Quoted 10 lines · David Hildenbrand

The last user of arch_set_page_states(), arch_set_page_nodat() and arch_test_page_nodat() was removed in commit 394216275c7d ("s390: remove broken hibernate / power management support"), let's remove these functions.

Cc Heiko Carstens <[email protected]>
Cc Vasily Gorbik <[email protected]>
Cc Christian Borntraeger <[email protected]>
Quoted 4 lines
---
 arch/s390/include/asm/page.h |  3 ---
 arch/s390/mm/page-states.c   | 43 ------------------------------------
 2 files changed, 46 deletions(-)

Applied, thanks.