]> git.baikalelectronics.ru Git - kernel.git/commit
random: eliminate redundant new_rotate variable
authorMatt Mackall <mpm@selenic.com>
Tue, 29 Apr 2008 08:03:02 +0000 (01:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:25 +0000 (08:06 -0700)
commitc209fc63f295fdbbc8ff6c83b36a05bc7316aead
treedb031968e6a4f76b060298d5d0b3499566ad944d
parent87d2d399616f396d96abd5c736be225b17f73a98
random: eliminate redundant new_rotate variable

- eliminate new_rotate
- move input_rotate masking
- simplify input_rotate update
- move input_rotate update to end of inner loop for readability

Signed-off-by: Matt Mackall <mpm@selenic.com>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/random.c