tx_tail is unused. Remove it. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- drivers/net/macb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/macb.c b/drivers/net/macb.c index 8575c838a8..28065e1e13 100644 --- a/drivers/net/macb.c +++ b/drivers/net/macb.c @@ -65,7 +65,6 @@ struct macb_device { unsigned int rx_tail; unsigned int tx_head; - unsigned int tx_tail; void *rx_buffer; void *tx_buffer; @@ -344,7 +343,7 @@ static void macb_init(struct macb_device *macb) } macb->tx_ring[TX_RING_SIZE - 1].addr |= MACB_BIT(TX_WRAP); - macb->rx_tail = macb->tx_head = macb->tx_tail = 0; + macb->rx_tail = macb->tx_head = 0; macb_configure_dma(macb); -- 2.19.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox