commit | c623d149b18cbdb7e9f782ced0c859b1836ef3cd | [log] [tgz] |
---|---|---|
author | Alexandre TORGUE <alexandre.torgue@st.com> | Fri Apr 01 11:37:27 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sat Apr 02 20:23:07 2016 -0400 |
tree | e376c08333fddd54506db90e1484df1bd94ff2d2 | |
parent | d0225e7de6229068df99ba8dacebc826d27e1cd5 [diff] |
stmmac: rework synopsys id read, moved to dwmac setup synopsys_uid is only used once after setup, to get synopsys_id by using shitf/mask operation. It's no longer used then. So, remove this temporary variable and directly compute synopsys_id from setup routine. Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com> Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>