random: remove incomplete last_data logic
authorJason A. Donenfeld <Jason@zx2c4.com>
Wed, 12 Jan 2022 14:22:30 +0000 (15:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 May 2022 07:33:29 +0000 (09:33 +0200)
commitae093ca1256e286616ddb06bf7bc0c9cc4a2ec5d
tree327a511e755e1852cf182f03ce73363a8c6e4eba
parent7abbc9809fa085393d90da01f9da3f25451168f1
random: remove incomplete last_data logic

commit a4bfa9b31802c14ff5847123c12b98d5e36b3985 upstream.

There were a few things added under the "if (fips_enabled)" banner,
which never really got completed, and the FIPS people anyway are
choosing a different direction. Rather than keep around this halfbaked
code, get rid of it so that we can focus on a single design of the RNG
rather than two designs.

Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/random.c