linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Cleanups for swap
@ 2021-05-20 13:40 Miaohe Lin
  2021-05-20 13:40 ` [PATCH v2 1/4] mm/swapfile: move get_swap_page_of_type() under CONFIG_HIBERNATION Miaohe Lin
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Miaohe Lin @ 2021-05-20 13:40 UTC (permalink / raw)
  To: akpm; +Cc: willy, linux-kernel, linux-mm, linmiaohe

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-05-20 13:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-20 13:40 [PATCH v2 0/4] Cleanups for swap Miaohe Lin
2021-05-20 13:40 ` [PATCH v2 1/4] mm/swapfile: move get_swap_page_of_type() under CONFIG_HIBERNATION Miaohe Lin
2021-05-20 13:40 ` [PATCH v2 2/4] mm/swap: remove unused local variable nr_shadows Miaohe Lin
2021-05-20 13:40 ` [PATCH v2 3/4] mm/swap_slots.c: delete meaningless forward declarations Miaohe Lin
2021-05-20 13:40 ` [PATCH v2 4/4] mm/swap: remove unused global variable nr_swapper_spaces Miaohe Lin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).