]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: remove dead code in stmmac_tx_clean
authorLABBE Corentin <clabbe.montjoie@gmail.com>
Wed, 8 Feb 2017 08:31:19 +0000 (09:31 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Feb 2017 20:11:26 +0000 (15:11 -0500)
commit626c4fe11fcbbce2450229957dcfcd8864165f60
treec883e5faeb1d6895d37e058a716ace2a3989b8e6
parent22f240b5900367d3d9703727a5bc66a21fc50e91
net: stmmac: remove dead code in stmmac_tx_clean

Since commit cb916cfa72fa ("stmmac: add tx_skbuff_dma to save descriptors used by PTP"),
the struct dma_desc *p in stmmac_tx_clean was not used at all.

This patch remove this dead code.

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c