summaryrefslogtreecommitdiffstats
path: root/crypto/salsa20_generic.c
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2013-09-12 14:36:45 +0200
committerWolfram Sang <wsa@the-dreams.de>2013-09-30 06:02:32 +0200
commit8d0494037bb2af32a22563d40703c1263fca318d (patch)
tree27b4c422a5c7f38b7da661648c81babec81ba9a2 /crypto/salsa20_generic.c
parent14d32f1794fd559e12f27e8b5c57053073bd75aa (diff)
downloadlinux-8d0494037bb2af32a22563d40703c1263fca318d.tar.bz2
i2c: rcar: get clock rate only once and simplify calculation
There is no need to repeatedly query clock frequency, where it is not expected to change. The complete loop can also trivially be replaced with a simple division. A further loop below the one, being simplified, could also be replaced, but that would get more complicated. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'crypto/salsa20_generic.c')
0 files changed, 0 insertions, 0 deletions