commit | f3bc52cb04bcfccd12da3f03ca8bc50484898436 | [log] [tgz] |
---|---|---|
author | Miaohe Lin <linmiaohe@huawei.com> | Tue Oct 13 16:52:18 2020 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Oct 13 18:38:30 2020 -0700 |
tree | 3694acdab30586bba0f7c7af86ba848fdc74871b | |
parent | a3e7bea060724c760906218f1c232c75ecb0c767 [diff] |
mm/swap_slots.c: remove always zero and unused return value of enable_swap_slots_cache() enable_swap_slots_cache() always return zero and its return value is just ignored by the caller. So make enable_swap_slots_cache() void. Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Link: https://lkml.kernel.org/r/20200924113554.50614-1-linmiaohe@huawei.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>