summaryrefslogtreecommitdiff
path: root/include/linux/stmmac.h
diff options
context:
space:
mode:
authorNiklas Cassel <niklas.cassel@axis.com>2016-12-30 13:56:46 +0100
committerDavid S. Miller <davem@davemloft.net>2017-01-02 12:30:26 -0500
commit31b95c9bdc20663a20b3261303c2a5fc34aae133 (patch)
tree16ce95432a5da093e35cde90f01704caa42aee0c /include/linux/stmmac.h
parent4b64e1a40c095f82ea6fbf4a0c11143532bb85a5 (diff)
downloadlwn-31b95c9bdc20663a20b3261303c2a5fc34aae133.tar.gz
lwn-31b95c9bdc20663a20b3261303c2a5fc34aae133.zip
net: stmmac: remove unused duplicate property snps,axi_all
For core revision 3.x Address-Aligned Beats is available in two registers. The DT property snps,aal was created for AAL in the DMA bus register, which is a read/write bit. The DT property snps,axi_all was created for AXI_AAL in the AXI bus mode register, which is a read only bit that reflects the value of AAL in the DMA bus register. Since the value of snps,axi_all is never used in the driver, and since the property was created for a bit that is read only, it should be safe to remove the property. Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: Niklas Cassel <niklas.cassel@axis.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/stmmac.h')
-rw-r--r--include/linux/stmmac.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h
index 266dab9ad782..889e0e9a3f1c 100644
--- a/include/linux/stmmac.h
+++ b/include/linux/stmmac.h
@@ -103,7 +103,6 @@ struct stmmac_axi {
u32 axi_wr_osr_lmt;
u32 axi_rd_osr_lmt;
bool axi_kbbe;
- bool axi_axi_all;
u32 axi_blen[AXI_BLEN];
bool axi_fb;
bool axi_mb;