mbox series

[v2,0/4] Cleanups for swap

Message ID 20210520134022.1370406-1-linmiaohe@huawei.com (mailing list archive)
Headers show
Series Cleanups for swap | expand

Message

Miaohe Lin May 20, 2021, 1:40 p.m. UTC
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(-)