aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorSergei Shtylyov <[email protected]>2016-01-11 00:27:38 +0300
committerDavid S. Miller <[email protected]>2016-01-11 17:31:09 -0500
commit1c1fa821199c707a193efd3bc93c4ac9357bafa0 (patch)
tree8060974a68209b431395d16536e2eaaa5675ecc8 /drivers/fpga/fpga-mgr.c
parent66530bdf85eb1d72a0c399665e09a2c2298501c6 (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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions