commit | 1c1fa821199c707a193efd3bc93c4ac9357bafa0 | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | Mon Jan 11 00:27:38 2016 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 11 17:31:09 2016 -0500 |
tree | 8060974a68209b431395d16536e2eaaa5675ecc8 | |
parent | 66530bdf85eb1d72a0c399665e09a2c2298501c6 [diff] |
ravb: stop reading ECMR in ravb_emac_init() The code in ravb_emac_init() twiddling the ECMR bits always looked a bit strange to me: if one intends to respect 'priv->duplex', why save old value of the ECMR.DM bit? As all the other bits are zeroed anyway, we don't really need to read ECMR before writing to it. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>