diff options
author | 2022-01-27 15:47:49 +0100 | |
---|---|---|
committer | 2022-01-28 14:29:19 +0000 | |
commit | c52db24619179b5f00ddbae8f8c4186ebb50a504 (patch) | |
tree | 977db145f731bcd72461a7e2dc24a31e7689a829 /tools/perf/scripts/python/libxed.py | |
parent | net: sparx5: use .mac_select_pcs() interface (diff) | |
download | linux-dev-c52db24619179b5f00ddbae8f8c4186ebb50a504.tar.xz linux-dev-c52db24619179b5f00ddbae8f8c4186ebb50a504.zip |
net: mvneta: remove unnecessary if condition in mvneta_xdp_submit_frame
Get rid of unnecessary if check on tx_desc pointer in
mvneta_xdp_submit_frame routine since num_frames is always greater than
0 and tx_desc pointer is always initialized.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions