[PATCH v2 0/4] Cleanups for swap

From: Miaohe Lin
Date: Thu May 20 2021 - 09:41:08 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!

v1->v2:
collect Reviewed-by tag
get rid of patch "mm/swap: simplify the code of find_get_incore_page()"

Miaohe Lin (4):
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_slots.c | 2 --
mm/swap_state.c | 8 --------
mm/swapfile.c | 48 ++++++++++++++++++++++++------------------------
3 files changed, 24 insertions(+), 34 deletions(-)

--
2.23.0