diff options
author | Petr Machata <[email protected]> | 2023-11-20 19:25:28 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-11-21 14:53:09 -0800 |
commit | b51c876c2297f8b32ca579712e3ab1490114d1ee (patch) | |
tree | 8fb565d8e1089d672ed2f732487f3202d8b8ecba /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 9aad19a363f68470ac5af677cda7120393e94a06 (diff) |
mlxsw: spectrum_fid: Drop unnecessary conditions
The caller already only calls mlxsw_sp_fid_flood_tables_init() and
mlxsw_sp_fid_flood_tables_fini() if (fid_family->flood_tables). There
is no configuration where the pointer is non-NULL, but the number of
tables is zero. So drop the conditions.
Signed-off-by: Petr Machata <[email protected]>
Reviewed-by: Amit Cohen <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Link: https://lore.kernel.org/r/897c6841bc756ac632b797bf67ac83c6a66ba359.1700503644.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions