diff options
| author | Thorsten Blum <[email protected]> | 2024-05-29 10:19:01 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2024-06-03 15:09:23 +0000 |
| commit | 2317dc2c22cc353b699c7d1db47b2fe91f54055c (patch) | |
| tree | 3928bdbf9088d489be803b1b6c60d6a7b743922f /drivers/net/ethernet/intel/ice/ice_lib.c | |
| parent | libbpf: don't close(-1) in multi-uprobe feature detector (diff) | |
| download | kernel-2317dc2c22cc353b699c7d1db47b2fe91f54055c.tar.gz kernel-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 <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Reviewed-by: Toke Høiland-Jørgensen <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions
