random: remove unneeded hash of a portion of the entropy pool
authorTheodore Ts'o <tytso@mit.edu>
Wed, 11 Jun 2014 03:09:20 +0000 (23:09 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 15 Jul 2014 08:49:39 +0000 (04:49 -0400)
commit85608f8e16c28f818f6bb9918958d231afa8bec2
tree506408b80b020f5856874812045f7c826513a78e
parent91fcb532efe366d79b93a3c8c368b9dca6176a55
random: remove unneeded hash of a portion of the entropy pool

We previously extracted a portion of the entropy pool in
mix_pool_bytes() and hashed it in to avoid racing CPU's from returning
duplicate random values.  Now that we are using a spinlock to prevent
this from happening, this is no longer necessary.  So remove it, to
simplify the code a bit.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: George Spelvin <linux@horizon.com>
drivers/char/random.c