random: remove unnecessary unlikely()
authorYangtao Li <tiny.windzz@gmail.com>
Tue, 7 Jan 2020 21:10:28 +0000 (16:10 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Jun 2022 09:46:28 +0000 (11:46 +0200)
commitea13b4ac6a312c616ab5054624dc4f26dea18570
treebd1a31d72fcce8362c63e6a5b039b2a0cdc25da0
parent051278bf8997967730bc47faa1d251e5b36a6ea4
random: remove unnecessary unlikely()

commit 870e05b1b18814911cb2703a977f447cb974f0f9 upstream.

WARN_ON() already contains an unlikely(), so it's not necessary to use
unlikely.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Link: https://lore.kernel.org/r/20190607182517.28266-1-tiny.windzz@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/random.c