On Thu, Dec 17, 2020 at 01:26:48PM +0800, Adrian Huang wrote:
> From: Adrian Huang
>
> It is unnecessary to use the local variable 'error' in the mmap
> syscall implementation function, so use the return statement
> instead of it.
I'm normally not a fan of standalone cleanup patches, but this on
From: Adrian Huang
It is unnecessary to use the local variable 'error' in the mmap
syscall implementation function, so use the return statement
instead of it.
Signed-off-by: Adrian Huang
---
arch/x86/kernel/sys_x86_64.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git
2 matches
Mail list logo