[Devel,RHEL7,COMMIT] ms/asm-generic: drop unused pte_file* helpers

Submitted by Kirill Tkhai on Oct. 3, 2016, 2:51 p.m.

Details

Message ID 201610031451.u93EpbDj010540@pro
State New
Series "replace remap_file_pages() syscall with emulation"
Headers show

Commit Message

Kirill Tkhai Oct. 3, 2016, 2:51 p.m.
The commit is pushed to "branch-rh7-3.10.0-327.36.1.vz7.18.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-327.36.1.vz7.18.3
------>
commit fde65e2ebd9d4cb705ed4a9da8afd35c0b062d32
Author: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Date:   Mon Oct 3 14:50:37 2016 +0000

    ms/asm-generic: drop unused pte_file* helpers
    
    All users are gone.
    
    Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    
    https://jira.sw.ru/browse/PSBM-52992
    
    (cherry picked from commit 5064c8e19dc215afae8ffae95570e7f22062d49c)
    Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
    Reviewed-by: Cyrill Gorcunov <gorcunov@openvz.org>
---
 include/asm-generic/pgtable.h | 15 ---------------
 1 file changed, 15 deletions(-)

Patch hide | download patch | download mbox

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