We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 099575b commit 89c0d26Copy full SHA for 89c0d26
drivers/net/atl1/atl1_main.c
@@ -634,14 +634,13 @@ static void atl1_intr_tx(struct atl1_adapter *adapter)
634
struct atl1_buffer *buffer_info;
635
u16 sw_tpd_next_to_clean;
636
u16 cmb_tpd_next_to_clean;
637
- u8 update = 0;
638
639
sw_tpd_next_to_clean = atomic_read(&tpd_ring->next_to_clean);
640
cmb_tpd_next_to_clean = le16_to_cpu(adapter->cmb.cmb->tpd_cons_idx);
641
642
while (cmb_tpd_next_to_clean != sw_tpd_next_to_clean) {
643
struct tx_packet_desc *tpd;
644
- update = 1;
+
645
tpd = ATL1_TPD_DESC(tpd_ring, sw_tpd_next_to_clean);
646
buffer_info = &tpd_ring->buffer_info[sw_tpd_next_to_clean];
647
if (buffer_info->dma) {
0 commit comments