Skip to content
Commit 14669347 authored by Geliang Tang's avatar Geliang Tang Committed by Linus Torvalds
Browse files

mm, thp: use list_first_entry_or_null()



Simplify the code with list_first_entry_or_null().

Signed-off-by: default avatarGeliang Tang <geliangtang@163.com>
Acked-by: default avatarKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 8cee852e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment