net: ll_temac: Remove unused tx_bd_next struct field

The tx_bd_next field was included in the initial commit,
commit 9274498953 ("net: add Xilinx ll_temac device driver"),
but has never had any real use.

Signed-off-by: Esben Haabendal <esben@geanix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Esben Haabendal 2020-02-28 08:56:57 +01:00 committed by David S. Miller
parent b90feaff2a
commit 9482cc969c
2 changed files with 0 additions and 2 deletions

View File

@ -372,7 +372,6 @@ struct temac_local {
struct cdmac_bd *rx_bd_v; struct cdmac_bd *rx_bd_v;
dma_addr_t rx_bd_p; dma_addr_t rx_bd_p;
int tx_bd_ci; int tx_bd_ci;
int tx_bd_next;
int tx_bd_tail; int tx_bd_tail;
int rx_bd_ci; int rx_bd_ci;
int rx_bd_tail; int rx_bd_tail;

View File

@ -387,7 +387,6 @@ static int temac_dma_bd_init(struct net_device *ndev)
/* Init descriptor indexes */ /* Init descriptor indexes */
lp->tx_bd_ci = 0; lp->tx_bd_ci = 0;
lp->tx_bd_next = 0;
lp->tx_bd_tail = 0; lp->tx_bd_tail = 0;
lp->rx_bd_ci = 0; lp->rx_bd_ci = 0;
lp->rx_bd_tail = RX_BD_NUM - 1; lp->rx_bd_tail = RX_BD_NUM - 1;