]> 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)
commit3016d77236dba83c12ba5ef87697df8213c8711b
treec883e5faeb1d6895d37e058a716ace2a3989b8e6
parent4faa48517f450dc5612779f59a36e792c162fb16
net: stmmac: remove dead code in stmmac_tx_clean

Since commit 3f0a537f43c8 ("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