]> Git Repo - linux.git/commit - mm/swap_slots.c
mm/swap: remove unneeded return value of free_swap_slot
authorMiaohe Lin <[email protected]>
Thu, 19 May 2022 21:08:50 +0000 (14:08 -0700)
committerakpm <[email protected]>
Thu, 19 May 2022 21:08:50 +0000 (14:08 -0700)
commitbc4a68adb151f08b50822158c7767f5726346370
tree0c6a11e4d1c99aecd6632b3768b45bc2d72b6906
parentafba72b17139057aedf7eb2dfe5f6ea6700ab998
mm/swap: remove unneeded return value of free_swap_slot

The return value of free_swap_slot is always 0 and also ignored now.
Remove it to clean up the code.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Reviewed-by: Oscar Salvador <[email protected]>
Cc: Alistair Popple <[email protected]>
Cc: David Howells <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Naoya Horiguchi <[email protected]>
Cc: NeilBrown <[email protected]>
Cc: Peter Xu <[email protected]>
Cc: Suren Baghdasaryan <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
include/linux/swap_slots.h
mm/swap_slots.c
This page took 0.059023 seconds and 4 git commands to generate.