Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1598795 > unrolled thread

[PATCH v1 10/10] mm: remove SWAP_[SUCCESS|AGAIN|FAIL]

Started byMinchan Kim <minchan@kernel.org>
First post2017-03-13 01:40 +0100
Last post2017-03-13 01:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v1 10/10] mm: remove SWAP_[SUCCESS|AGAIN|FAIL] Minchan Kim <minchan@kernel.org> - 2017-03-13 01:40 +0100

#1598795 — [PATCH v1 10/10] mm: remove SWAP_[SUCCESS|AGAIN|FAIL]

FromMinchan Kim <minchan@kernel.org>
Date2017-03-13 01:40 +0100
Subject[PATCH v1 10/10] mm: remove SWAP_[SUCCESS|AGAIN|FAIL]
Message-ID<tkmbL-Hg-5@gated-at.bofh.it>
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 59d7dd7..5d6788f 100644
--- a/include/linux/rmap.h
+++ b/include/linux/rmap.h
@@ -291,11 +291,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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web