aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/security
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2016-01-11 00:28:14 +0300
committerDavid S. Miller <davem@davemloft.net>2016-01-11 17:31:09 -0500
commitbffa731f8f44e0444afc56875a10fd07e9a08c6c (patch)
tree77fe59349bc0de5be7377046e678eaa02f3ba0db /Documentation/security
parent1c1fa821199c707a193efd3bc93c4ac9357bafa0 (diff)
downloadlinux-bffa731f8f44e0444afc56875a10fd07e9a08c6c.tar.gz
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 <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/security')
0 files changed, 0 insertions, 0 deletions