[PATCH 0/5] Cleanups for swap

From: Miaohe Lin
Date: Tue May 18 2021 - 09:54:02 EST


Hi all,
This series contains just cleanups to remove some unused variables, delete
meaningless forward declarations and so on. More details can be found in
the respective changelogs. Thanks!

Miaohe Lin (5):
mm/swapfile: move get_swap_page_of_type() under CONFIG_HIBERNATION
mm/swap: remove unused local variable nr_shadows
mm/swap_slots.c: delete meaningless forward declarations
mm/swap: remove unused global variable nr_swapper_spaces
mm/swap: simplify the code of find_get_incore_page()

mm/swap_slots.c | 2 --
mm/swap_state.c | 15 +++------------
mm/swapfile.c | 48 ++++++++++++++++++++++++------------------------
3 files changed, 27 insertions(+), 38 deletions(-)

--
2.23.0