Skip to content
Commit c1f6688d authored by Baoquan He's avatar Baoquan He Committed by Dennis Zhou
Browse files

mm/percpu: use list_first_entry_or_null in pcpu_reclaim_populated()



To replace list_empty()/list_first_entry() pair to simplify code.

Signed-off-by: default avatarBaoquan He <bhe@redhat.com>
Acked-by: default avatarDennis Zhou <dennis@kernel.org>
Signed-off-by: default avatarDennis Zhou <dennis@kernel.org>
parent 5a7d596a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment