diff options
author | Thorsten Blum <thorsten.blum@toblux.com> | 2024-05-29 12:19:01 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2024-06-03 17:09:23 +0200 |
commit | 2317dc2c22cc353b699c7d1db47b2fe91f54055c (patch) | |
tree | 3928bdbf9088d489be803b1b6c60d6a7b743922f /drivers/net/ethernet/intel/ice/ice_main.c | |
parent | 7d0b3953f6d832daec10a0d76e2d4db405768a8b (diff) | |
download | linux-2317dc2c22cc353b699c7d1db47b2fe91f54055c.tar.gz linux-2317dc2c22cc353b699c7d1db47b2fe91f54055c.tar.bz2 linux-2317dc2c22cc353b699c7d1db47b2fe91f54055c.zip |
bpf, devmap: Remove unnecessary if check in for loop
The iterator variable dst cannot be NULL and the if check can be removed.
Remove it and fix the following Coccinelle/coccicheck warning reported
by itnull.cocci:
ERROR: iterator variable bound on line 762 cannot be NULL
Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Toke Høiland-Jørgensen <toke@redhat.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/bpf/20240529101900.103913-2-thorsten.blum@toblux.com
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions