diff options
author | Yajun Deng <yajun.deng@linux.dev> | 2023-12-16 06:05:03 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-12-21 01:48:14 +0300 |
commit | 250ae189d98290d0539b4f9b8c4703e0bf24f9d3 (patch) | |
tree | 64416ddb699f058afe3ff4471a8a7680cafb5ce8 /lib/ubsan.c | |
parent | 7e552dcd803f4ff60165271c573ab2e38d15769f (diff) | |
download | linux-250ae189d98290d0539b4f9b8c4703e0bf24f9d3.tar.xz |
mm: page_alloc: simplify __free_pages_ok()
There is redundant code in __free_pages_ok(). Use free_one_page()
simplify it.
Link: https://lkml.kernel.org/r/20231216030503.2126130-1-yajun.deng@linux.dev
Signed-off-by: Yajun Deng <yajun.deng@linux.dev>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/ubsan.c')
0 files changed, 0 insertions, 0 deletions