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)
commitfeee76972bcc54b2b1d1dc28bc6c16a8daa9aff8
treedb031968e6a4f76b060298d5d0b3499566ad944d
parent433582093a9dc5454ba03b4a7ea201d85e6aa4de
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