| From: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> |
| Date: Tue, 10 Feb 2015 14:10:07 -0800 |
| Subject: asm-generic: drop unused pte_file* helpers |
| |
| commit 5064c8e19dc215afae8ffae95570e7f22062d49c upstream. |
| |
| 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> |
| Signed-off-by: Ben Hutchings <ben@decadent.org.uk> |
| --- |
| include/asm-generic/pgtable.h | 15 --------------- |
| 1 file changed, 15 deletions(-) |
| |
| --- a/include/asm-generic/pgtable.h |
| +++ b/include/asm-generic/pgtable.h |
| @@ -445,21 +445,6 @@ static inline pte_t pte_swp_clear_soft_d |
| { |
| 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 |