diff options
| author | 2022-01-27 15:47:49 +0100 | |
|---|---|---|
| committer | 2022-01-28 14:29:19 +0000 | |
| commit | c52db24619179b5f00ddbae8f8c4186ebb50a504 (patch) | |
| tree | 977db145f731bcd72461a7e2dc24a31e7689a829 /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | net: sparx5: use .mac_select_pcs() interface (diff) | |
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 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
