Re: [PATCH 1/4] mm/hugeltb: remove redundant VM_BUG_ON() in region_add()

2021-04-06 Thread Mike Kravetz
On 4/2/21 2:32 AM, Miaohe Lin wrote: > The same VM_BUG_ON() check is already done in the callee. Remove this extra > one to simplify the code slightly. > > Signed-off-by: Miaohe Lin Thanks, Reviewed-by: Mike Kravetz -- Mike Kravetz > --- > mm/hugetlb.c | 1 - > 1 file changed, 1 deletion(-)

[PATCH 1/4] mm/hugeltb: remove redundant VM_BUG_ON() in region_add()

2021-04-02 Thread Miaohe Lin
The same VM_BUG_ON() check is already done in the callee. Remove this extra one to simplify the code slightly. Signed-off-by: Miaohe Lin --- mm/hugetlb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/hugetlb.c b/mm/hugetlb.c index c22111f3da20..a03a50b7c410 100644 --- a/mm/hugetlb.c +++