Liam Howlett 66071896cd mm/mlock: drop dead code in count_mm_mlocked_page_nr()
The check for mm being null has never been needed since the only caller
has always passed in current->mm.  Remove the check from
count_mm_mlocked_page_nr().

Link: https://lkml.kernel.org/r/20220615174050.738523-1-Liam.Howlett@oracle.com
Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Suggested-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2022-09-26 19:46:27 -07:00
..
2022-09-26 19:46:26 -07:00
2022-09-26 19:46:16 -07:00
2022-09-26 19:46:26 -07:00
2022-09-26 19:46:10 -07:00
2022-03-23 18:03:08 -07:00
2022-09-26 19:46:18 -07:00
2022-08-09 09:48:30 -07:00
2022-09-26 19:46:26 -07:00
2022-06-16 19:48:30 -07:00
2022-05-13 07:20:09 -07:00
2022-09-26 19:46:09 -07:00
2022-09-26 19:46:09 -07:00
2022-09-26 19:46:26 -07:00
2022-07-20 10:52:40 +01:00
2022-09-26 19:46:26 -07:00
2022-09-26 19:46:18 -07:00
2022-01-15 16:30:31 +02:00