net/atlantic: fix build with clang 15
This variable is not used.
Fixes: 2b1472d715
("net/atlantic: implement Tx path")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
This commit is contained in:
parent
6d58990561
commit
f25fa03ad1
@ -1127,10 +1127,9 @@ atl_xmit_cleanup(struct atl_tx_queue *txq)
|
|||||||
if (txq != NULL) {
|
if (txq != NULL) {
|
||||||
sw_ring = txq->sw_ring;
|
sw_ring = txq->sw_ring;
|
||||||
int head = txq->tx_head;
|
int head = txq->tx_head;
|
||||||
int cnt;
|
int cnt = head;
|
||||||
int i;
|
|
||||||
|
|
||||||
for (i = 0, cnt = head; ; i++) {
|
while (true) {
|
||||||
txd = &txq->hw_ring[cnt];
|
txd = &txq->hw_ring[cnt];
|
||||||
|
|
||||||
if (txd->dd)
|
if (txd->dd)
|
||||||
|
Loading…
Reference in New Issue
Block a user