diff options
author | Wei Yang <[email protected]> | 2020-06-01 21:48:58 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-06-02 10:59:09 -0700 |
commit | abca1c84b7575b470789c8686688b11ba3bf138d (patch) | |
tree | 4f4e694e6d2279ea24e572c805513290e6844df2 /tools/perf/scripts/python | |
parent | 08d3090fc8dadd7b726dbda99d1baa39382c3f2c (diff) |
mm/swapfile.c: remove the extra check in scan_swap_map_slots()
scan_swap_map_slots() is only called by scan_swap_map() and
get_swap_pages(). Both ensure nr would not exceed SWAP_BATCH.
Just remove it.
Signed-off-by: Wei Yang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Cc: Hugh Dickins <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions