random: remove incomplete last_data logic
authorJason A. Donenfeld <Jason@zx2c4.com>
Wed, 12 Jan 2022 14:22:30 +0000 (15:22 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 17 Jan 2022 16:25:32 +0000 (17:25 +0100)
commitf5961ee4cec1b3ef806c956af149d340e7df0208
tree99e0c88c2d493c07d0c0bbe0c401bbae1b0f8f31
parent6c3d73f0bfe0c5c5c5d6abb3390bdee87381b07b
random: remove incomplete last_data logic

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>
drivers/char/random.c