diff options
author | Geliang Tang <geliangtang@163.com> | 2016-01-14 15:19:32 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-14 16:00:49 -0800 |
commit | 146693471f1df44115cf4aaf13c33618619ad855 (patch) | |
tree | 3bcdc95d68d963b87582faf937999d28f954e269 /mm/vmalloc.c | |
parent | 8cee852ec53fb530f10ccabf1596734209ae336b (diff) |
mm, thp: use list_first_entry_or_null()
Simplify the code with list_first_entry_or_null().
Signed-off-by: Geliang Tang <geliangtang@163.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions