Re: [PATCH] mm/huge_memory.c: Remove unnecessary local variable ret2

2021-03-08 Thread Miaohe Lin
Hi: On 2021/2/10 15:24, Miaohe Lin wrote: > There is no need to use a new local variable ret2 to get the return value > of handle_userfault(). Use ret directly to make code more succinct. > > Signed-off-by: Miaohe Lin friendly ping in case it's forgotten. :) > --- > mm/huge_memory.c | 8

[PATCH] mm/huge_memory.c: Remove unnecessary local variable ret2

2021-02-09 Thread Miaohe Lin
There is no need to use a new local variable ret2 to get the return value of handle_userfault(). Use ret directly to make code more succinct. Signed-off-by: Miaohe Lin --- mm/huge_memory.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/mm/huge_memory.c