Re: [PATCH][bpf-next] bpf: remove redundant variable old_flags

2017-10-11 Thread David Miller
From: Colin King Date: Wed, 11 Oct 2017 11:56:23 +0100 > From: Colin Ian King > > Variable old_flags is being assigned but is never read; it is redundant > and can be removed. > > Cleans up clang warning: Value stored to 'old_flags' is never

Re: [PATCH][bpf-next] bpf: remove redundant variable old_flags

2017-10-11 Thread David Miller
From: Colin King Date: Wed, 11 Oct 2017 11:56:23 +0100 > From: Colin Ian King > > Variable old_flags is being assigned but is never read; it is redundant > and can be removed. > > Cleans up clang warning: Value stored to 'old_flags' is never read > > Signed-off-by: Colin Ian King Applied.

Re: [PATCH][bpf-next] bpf: remove redundant variable old_flags

2017-10-11 Thread Daniel Borkmann
On 10/11/2017 12:56 PM, Colin King wrote: From: Colin Ian King Variable old_flags is being assigned but is never read; it is redundant and can be removed. Cleans up clang warning: Value stored to 'old_flags' is never read Signed-off-by: Colin Ian King

Re: [PATCH][bpf-next] bpf: remove redundant variable old_flags

2017-10-11 Thread Daniel Borkmann
On 10/11/2017 12:56 PM, Colin King wrote: From: Colin Ian King Variable old_flags is being assigned but is never read; it is redundant and can be removed. Cleans up clang warning: Value stored to 'old_flags' is never read Signed-off-by: Colin Ian King Acked-by: Daniel Borkmann

Re: [PATCH][bpf-next] bpf: remove redundant variable old_flags

2017-10-11 Thread Alexei Starovoitov
On Wed, Oct 11, 2017 at 11:56:23AM +0100, Colin King wrote: > From: Colin Ian King > > Variable old_flags is being assigned but is never read; it is redundant > and can be removed. > > Cleans up clang warning: Value stored to 'old_flags' is never read > >

Re: [PATCH][bpf-next] bpf: remove redundant variable old_flags

2017-10-11 Thread Alexei Starovoitov
On Wed, Oct 11, 2017 at 11:56:23AM +0100, Colin King wrote: > From: Colin Ian King > > Variable old_flags is being assigned but is never read; it is redundant > and can be removed. > > Cleans up clang warning: Value stored to 'old_flags' is never read > > Signed-off-by: Colin Ian King > --- >

[PATCH][bpf-next] bpf: remove redundant variable old_flags

2017-10-11 Thread Colin King
From: Colin Ian King Variable old_flags is being assigned but is never read; it is redundant and can be removed. Cleans up clang warning: Value stored to 'old_flags' is never read Signed-off-by: Colin Ian King --- kernel/bpf/cgroup.c | 2 --

[PATCH][bpf-next] bpf: remove redundant variable old_flags

2017-10-11 Thread Colin King
From: Colin Ian King Variable old_flags is being assigned but is never read; it is redundant and can be removed. Cleans up clang warning: Value stored to 'old_flags' is never read Signed-off-by: Colin Ian King --- kernel/bpf/cgroup.c | 2 -- 1 file changed, 2 deletions(-) diff --git