summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/xilinx/ll_temac_main.c
diff options
context:
space:
mode:
authorEsben Haabendal <esben@geanix.com>2020-02-28 08:56:57 +0100
committerDavid S. Miller <davem@davemloft.net>2020-02-29 21:30:43 -0800
commit9482cc969cf98d036b81dd2f710915b982e633c1 (patch)
treeed33299ca5bd679f0efb556075b92b0abfb312f3 /drivers/net/ethernet/xilinx/ll_temac_main.c
parentb90feaff2a2cbf339069adec4bfd6091cfb44b50 (diff)
downloadlinux-9482cc969cf98d036b81dd2f710915b982e633c1.tar.bz2
net: ll_temac: Remove unused tx_bd_next struct field
The tx_bd_next field was included in the initial commit, commit 92744989533c ("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>
Diffstat (limited to 'drivers/net/ethernet/xilinx/ll_temac_main.c')
-rw-r--r--drivers/net/ethernet/xilinx/ll_temac_main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/xilinx/ll_temac_main.c b/drivers/net/ethernet/xilinx/ll_temac_main.c
index 9461acec6f70..b0fab9a2056f 100644
--- a/drivers/net/ethernet/xilinx/ll_temac_main.c
+++ b/drivers/net/ethernet/xilinx/ll_temac_main.c
@@ -387,7 +387,6 @@ static int temac_dma_bd_init(struct net_device *ndev)
/* Init descriptor indexes */
lp->tx_bd_ci = 0;
- lp->tx_bd_next = 0;
lp->tx_bd_tail = 0;
lp->rx_bd_ci = 0;
lp->rx_bd_tail = RX_BD_NUM - 1;