Re: [PATCH v2 7/7] linux-user: Tidy TARGET_NR_rt_sigaction

2021-04-23 Thread Alex Bennée
Richard Henderson writes: > Initialize variables instead of elses. > Use an else instead of a goto. > Add braces. > > Signed-off-by: Richard Henderson > --- > linux-user/syscall.c | 32 +--- > 1 file changed, 13 insertions(+), 19 deletions(-) > > diff --git a/linux

Re: [PATCH v2 7/7] linux-user: Tidy TARGET_NR_rt_sigaction

2021-04-23 Thread Philippe Mathieu-Daudé
On 4/23/21 1:02 AM, Richard Henderson wrote: > Initialize variables instead of elses. > Use an else instead of a goto. > Add braces. > > Signed-off-by: Richard Henderson > --- > linux-user/syscall.c | 32 +--- > 1 file changed, 13 insertions(+), 19 deletions(-) Revie

[PATCH v2 7/7] linux-user: Tidy TARGET_NR_rt_sigaction

2021-04-22 Thread Richard Henderson
Initialize variables instead of elses. Use an else instead of a goto. Add braces. Signed-off-by: Richard Henderson --- linux-user/syscall.c | 32 +--- 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 9bc