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:29:02 +0000 (09:29 +0200)
commit578fbb760064aa30fc4940a9f0a9eed96d6a36b7
treea8bb5f6661c79f99ac1cefd95b8842d5add6db4e
parent8aa9ddc4db2947c50568cfd222bdf16b3a076f6d
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