diff options
| author | Louis Peens <[email protected]> | 2022-05-10 09:48:45 +0200 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-05-10 15:15:12 -0700 |
| commit | 61004d1d4badb5ba31d57d49003c17cfcdfed027 (patch) | |
| tree | 3593b76446a51458879cc294918f2c15abede613 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | ecd17a87eb78b5bd5ca6d1aa20c39f2bc3591337 (diff) | |
nfp: flower: fix 'variable 'flow6' set but not used'
Kernel test robot reported an issue after a recent patch about an
unused variable when CONFIG_IPV6 is disabled. Move the variable
declaration to be inside the #ifdef, and do a bit more cleanup. There
is no need to use a temporary ipv6 bool value, it is just checked once,
remove the extra variable and just do the check directly.
Fixes: 9d5447ed44b5 ("nfp: flower: fixup ipv6/ipv4 route lookup for neigh events")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Louis Peens <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions