diff options
author | Sergei Shtylyov | 2016-01-11 00:27:38 +0300 |
---|---|---|
committer | David S. Miller | 2016-01-11 17:31:09 -0500 |
commit | 1c1fa821199c707a193efd3bc93c4ac9357bafa0 (patch) | |
tree | 8060974a68209b431395d16536e2eaaa5675ecc8 /README | |
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>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions