summaryrefslogtreecommitdiff
path: root/drivers/connector
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2022-01-27 15:47:49 +0100
committerDavid S. Miller <davem@davemloft.net>2022-01-28 14:29:19 +0000
commitc52db24619179b5f00ddbae8f8c4186ebb50a504 (patch)
tree977db145f731bcd72461a7e2dc24a31e7689a829 /drivers/connector
parent9c8c44022b0da6ded7c481368a95f788c69bbcb1 (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 'drivers/connector')
0 files changed, 0 insertions, 0 deletions