summaryrefslogtreecommitdiffstats
path: root/mm/io-mapping.c
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2022-05-19 14:08:51 -0700
committerakpm <akpm@linux-foundation.org>2022-05-19 14:08:51 -0700
commitf19c25684c3e19b329e0498dd6d601df13c33223 (patch)
tree0c371bdf09f8f3aedddf55216d947e055cfe263a /mm/io-mapping.c
parent23b230ba8ac30d334afd249c9763e0d0ca583e43 (diff)
downloadlinux-f19c25684c3e19b329e0498dd6d601df13c33223.tar.bz2
mm/swap: remove buggy cache->nr check in refill_swap_slots_cache
refill_swap_slots_cache is always called when cache->nr is 0. So remove such buggy and confusing check. Link: https://lkml.kernel.org/r/20220509131416.17553-7-linmiaohe@huawei.com Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Acked-by: David Hildenbrand <david@redhat.com> Reviewed-by: Oscar Salvador <osalvador@suse.de> Cc: Alistair Popple <apopple@nvidia.com> Cc: David Howells <dhowells@redhat.com> Cc: Matthew Wilcox <willy@infradead.org> Cc: Naoya Horiguchi <naoya.horiguchi@nec.com> Cc: NeilBrown <neilb@suse.de> Cc: Peter Xu <peterx@redhat.com> Cc: Suren Baghdasaryan <surenb@google.com> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/io-mapping.c')
0 files changed, 0 insertions, 0 deletions