diff options
author | Miaohe Lin <[email protected]> | 2022-09-16 15:22:55 +0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2022-10-03 14:03:30 -0700 |
commit | 896c4d52538df231c3847491acc4f2c23891fe6a (patch) | |
tree | e25b664fbe229187a246d2a3b85338b73a7ef063 /net/lapb/lapb_timer.c | |
parent | dae37a5dccd104fc465241c42d9e17756ddebbc1 (diff) |
mm/page_alloc: use costly_order in WARN_ON_ONCE_GFP()
There's no need to check whether order > PAGE_ALLOC_COSTLY_ORDER again.
Minor readability improvement.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Reviewed-by: Anshuman Khandual <[email protected]>
Reviewed-by: Oscar Salvador <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions