[Devel] [PATCH rh7 11/12] ms/asm-generic: drop unused pte_file* helpers
Andrey Ryabinin
aryabinin at virtuozzo.com
Mon Oct 3 06:20:59 PDT 2016
From: "Kirill A. Shutemov" <kirill.shutemov at linux.intel.com>
All users are gone.
Signed-off-by: Kirill A. Shutemov <kirill.shutemov at linux.intel.com>
Cc: Arnd Bergmann <arnd at arndb.de>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
https://jira.sw.ru/browse/PSBM-52992
(cherry picked from commit 5064c8e19dc215afae8ffae95570e7f22062d49c)
Signed-off-by: Andrey Ryabinin <aryabinin at virtuozzo.com>
---
include/asm-generic/pgtable.h | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/include/asm-generic/pgtable.h b/include/asm-generic/pgtable.h
index 4cede9c..d6ba353 100644
--- a/include/asm-generic/pgtable.h
+++ b/include/asm-generic/pgtable.h
@@ -428,21 +428,6 @@ static inline pte_t pte_swp_clear_soft_dirty(pte_t pte)
{
return pte;
}
-
-static inline pte_t pte_file_clear_soft_dirty(pte_t pte)
-{
- return pte;
-}
-
-static inline pte_t pte_file_mksoft_dirty(pte_t pte)
-{
- return pte;
-}
-
-static inline int pte_file_soft_dirty(pte_t pte)
-{
- return 0;
-}
#endif
#ifndef __HAVE_PFNMAP_TRACKING
--
2.7.3
More information about the Devel
mailing list