diff options
Diffstat (limited to 'mm/swap.h')
| -rw-r--r-- | mm/swap.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/mm/swap.h b/mm/swap.h index 274dcc6219a0..6f4a3f927edb 100644 --- a/mm/swap.h +++ b/mm/swap.h @@ -51,7 +51,6 @@ static inline pgoff_t swap_cache_index(swp_entry_t entry) } void show_swap_cache_info(void); -bool add_to_swap(struct folio *folio); void *get_shadow_from_swap_cache(swp_entry_t entry); int add_to_swap_cache(struct folio *folio, swp_entry_t entry, gfp_t gfp, void **shadowp); @@ -164,11 +163,6 @@ struct folio *filemap_get_incore_folio(struct address_space *mapping, return filemap_get_folio(mapping, index); } -static inline bool add_to_swap(struct folio *folio) -{ - return false; -} - static inline void *get_shadow_from_swap_cache(swp_entry_t entry) { return NULL; |