mm: remove SWAP_[SUCCESS|AGAIN|FAIL]
[email protected]
maintainerPATCH 57/102 mm: remove SWAP_[SUCCESS|AGAIN|FAIL]
From: Minchan Kim <[email protected]>
Subject: mm: remove SWAP_[SUCCESS|AGAIN|FAIL]
There is no user for it. Remove it.
[[email protected]: use false instead of SWAP_FAIL]
Signed-off-by Minchan Kim <[email protected]>
Cc Anshuman Khandual <[email protected]>
Cc Hillf Danton <[email protected]>
Cc Johannes Weiner <[email protected]>
Cc Kirill A. Shutemov <[email protected]>
Cc Michal Hocko <[email protected]>
Cc Naoya Horiguchi <[email protected]>
Cc Vlastimil Babka <[email protected]>
Cc Sergey Senozhatsky <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
include/linux/rmap.h | 7 ------- mm/rmap.c | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-)
include/linux/rmap.h renamed from include/linux/rmap.h~mm-remove-swap_ +0 -6
@@ -295,11 +295,4 @@ static inline int page_mkclean(struct pa#endif /* CONFIG_MMU */ -/* -* Return values of try_to_unmap -*/ -#define SWAP_SUCCESS 0 -#define SWAP_AGAIN 1 -#define SWAP_FAIL 2