[PATCH v2 0/5] A few cleanup patches for hugetlb_cgroup

From: Miaohe Lin
Date: Fri Jul 29 2022 - 04:01:33 EST


Hi everyone,
This series contains a few cleaup patches to remove unneeded check,
use helper macro, remove unneeded return value and so on. More details
can be found in the respective changelogs.
Thanks!
---
v2:
drop patch 2/6 per Mina
collect Reviewed-by tag per Mina and Mike. Thanks for review!
---
Miaohe Lin (5):
hugetlb_cgroup: remove unneeded nr_pages > 0 check
hugetlb_cgroup: hugetlbfs: use helper macro SZ_1{K,M,G}
hugetlb_cgroup: remove unneeded return value
hugetlb_cgroup: use helper macro NUMA_NO_NODE
hugetlb_cgroup: use helper for_each_hstate and hstate_index

include/linux/hugetlb_cgroup.h | 19 ++++++++-----------
mm/hugetlb_cgroup.c | 27 ++++++++++++---------------
2 files changed, 20 insertions(+), 26 deletions(-)

--
2.23.0