Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mm/hugetlb_cgroup: avoid useless return in void function

The return statement at the end of void function is unnecessary. Just
remove it as part of cleanup.

Link: https://lkml.kernel.org/r/20241122173558.20670-1-quic_pintu@quicinc.com
Signed-off-by: Pintu Kumar <quic_pintu@quicinc.com>
Cc: Pintu Agarwal <pintu.ping@gmail.com>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Pintu Kumar and committed by
Andrew Morton
3658cb16 9023691d

-1
-1
mm/hugetlb_cgroup.c
··· 917 917 set_hugetlb_cgroup_rsvd(new_folio, h_cg_rsvd); 918 918 list_move(&new_folio->lru, &h->hugepage_activelist); 919 919 spin_unlock_irq(&hugetlb_lock); 920 - return; 921 920 } 922 921 923 922 static struct cftype hugetlb_files[] = {