Skip to content
Commit 76089d00 authored by chenqiwu's avatar chenqiwu Committed by Linus Torvalds
Browse files

mm/page_alloc.c: use free_area_empty() instead of open-coding



Use free_area_empty() API to replace list_empty() for better code
readability.

Signed-off-by: default avatarchenqiwu <chenqiwu@xiaomi.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Reviewed-by: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
Link: http://lkml.kernel.org/r/1583674354-7713-1-git-send-email-qiwuchen55@gmail.com


Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 736838e9
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