mm-swapfilec-remove-the-extra-check-in-scan_swap_map_slots.patch removed from -mm tree
The patch titled
Subject: mm/swapfile.c: remove the extra check in scan_swap_map_slots()
has been removed from the -mm tree. Its filename was
mm-swapfilec-remove-the-extra-check-in-scan_swap_map_slots.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Wei Yang <[email protected]>
Subject: 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]>
Cc Hugh Dickins <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/swapfile.c | 3 --- 1 file changed, 3 deletions(-)
mm/swapfile.c renamed from mm/swapfile.c~mm-swapfilec-remove-the-extra-check-in-scan_swap_map_slots +0 -2
@@ -740,9 +740,6 @@ static int scan_swap_map_slots(struct swint latency_ration =LATENCY_LIMIT ;int n_ret =0 ; -if (nr >SWAP_BATCH ) - nr =SWAP_BATCH ;