On 22.12.20 11:32, Adrian Huang wrote:
> From: Adrian Huang
>
> The local variable 'retval' is assigned just for once in __do_sys_brk(),
> and the function returns the value of the local variable right after
> the assignment. Remove unnecessary assignment and local variable
> declaration.
>
> Si
On Tue, Dec 22, 2020 at 4:03 PM Adrian Huang wrote:
>
> From: Adrian Huang
>
> The local variable 'retval' is assigned just for once in __do_sys_brk(),
> and the function returns the value of the local variable right after
> the assignment. Remove unnecessary assignment and local variable
> decla
From: Adrian Huang
The local variable 'retval' is assigned just for once in __do_sys_brk(),
and the function returns the value of the local variable right after
the assignment. Remove unnecessary assignment and local variable
declaration.
Signed-off-by: Adrian Huang
---
mm/mmap.c | 4 +---
1 f
3 matches
Mail list logo