lkml.org 
[lkml]   [2017]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2 10/10] mm: remove SWAP_[SUCCESS|AGAIN|FAIL]
Date
There is no user for it. Remove it.

Signed-off-by: Minchan Kim <minchan@kernel.org>
---
include/linux/rmap.h | 7 -------
1 file changed, 7 deletions(-)

diff --git a/include/linux/rmap.h b/include/linux/rmap.h
index 13ed232..43ef2c3 100644
--- a/include/linux/rmap.h
+++ b/include/linux/rmap.h
@@ -295,11 +295,4 @@ static inline int page_mkclean(struct page *page)

#endif /* CONFIG_MMU */

-/*
- * Return values of try_to_unmap
- */
-#define SWAP_SUCCESS 0
-#define SWAP_AGAIN 1
-#define SWAP_FAIL 2
-
#endif /* _LINUX_RMAP_H */
--
2.7.4
\
 
 \ /
  Last update: 2017-03-15 06:26    [W:0.146 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site