aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorSergei Shtylyov <[email protected]>2016-01-11 00:28:14 +0300
committerDavid S. Miller <[email protected]>2016-01-11 17:31:09 -0500
commitbffa731f8f44e0444afc56875a10fd07e9a08c6c (patch)
tree77fe59349bc0de5be7377046e678eaa02f3ba0db /drivers/fpga/fpga-mgr.c
parent1c1fa821199c707a193efd3bc93c4ac9357bafa0 (diff)
sh_eth: stop reading ECMR in sh_eth_dev_init()
The code in sh_eth_dev_init() twiddling the ECMR bits always looked a bit strange to me: if one intends to respect 'mdp->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