Re: [PATCH] bpf: remove unneeded break

2020-10-19 Thread Andrii Nakryiko
On Mon, Oct 19, 2020 at 10:38 AM wrote: > > From: Tom Rix > > A break is not needed if it is preceded by a return > > Signed-off-by: Tom Rix > --- Probably refactoring left over, looks good: Acked-by: Andrii Nakryiko > kernel/bpf/syscall.c | 1 - > 1 file changed, 1 deletion(-) > > diff --g

[PATCH] bpf: remove unneeded break

2020-10-19 Thread trix
From: Tom Rix A break is not needed if it is preceded by a return Signed-off-by: Tom Rix --- kernel/bpf/syscall.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/bpf/syscall.c b/kernel/bpf/syscall.c index 1110ecd7d1f3..8f50c9c19f1b 100644 --- a/kernel/bpf/syscall.c +++ b/kernel/bpf/s