summaryrefslogtreecommitdiff
path: root/mm/rodata_test.c
diff options
context:
space:
mode:
authorBaoquan He <bhe@redhat.com>2025-02-05 17:27:18 +0800
committerAndrew Morton <akpm@linux-foundation.org>2025-03-16 22:06:07 -0700
commitac2d3268284ba4e254e4ca346bf6d63fb8a17518 (patch)
treeadae3b58bcd6cde77f21c3184634f9a486de5c66 /mm/rodata_test.c
parente89c45c700e7d9ab4913ec98f1fe9f23d46c1397 (diff)
downloadlinux-ac2d3268284ba4e254e4ca346bf6d63fb8a17518.tar.gz
linux-ac2d3268284ba4e254e4ca346bf6d63fb8a17518.tar.bz2
linux-ac2d3268284ba4e254e4ca346bf6d63fb8a17518.zip
mm/swapfile.c: remove the unneeded checking
In free_swap_and_cache_nr(), invocation of get_swap_device() has done the checking if it's a swap entry. So remove the redundant checking here. Link: https://lkml.kernel.org/r/20250205092721.9395-10-bhe@redhat.com Signed-off-by: Baoquan He <bhe@redhat.com> Cc: Chris Li <chrisl@kernel.org> Cc: Kairui Song <ryncsn@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/rodata_test.c')
0 files changed, 0 insertions, 0 deletions