Messages in this thread | | | From | Song Liu <> | Subject | Re: [PATCH -next] bpf: remove set but not used variable 'dst_known' | Date | Tue, 14 Apr 2020 22:05:12 +0000 |
| |
> On Apr 13, 2020, at 4:37 AM, Mao Wenan <maowenan@huawei.com> wrote: > > Fixes gcc '-Wunused-but-set-variable' warning: > > kernel/bpf/verifier.c:5603:18: warning: variable ‘dst_known’ > set but not used [-Wunused-but-set-variable] > > It is not used since commit f1174f77b50c ("bpf/verifier: > rework value tracking")
The fix makes sense. But I think f1174f77b50c introduced dst_known, so this statement is not accurate.
> > Signed-off-by: Mao Wenan <maowenan@huawei.com>
| |