]> git.baikalelectronics.ru Git - kernel.git/commit
random: remove variable limit
authorStephan Müller <smueller@chronox.de>
Tue, 27 Dec 2016 22:40:59 +0000 (23:40 +0100)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 19 Jan 2017 02:54:15 +0000 (21:54 -0500)
commitd5714697a24bb8d258bd923546b5c151d2abf4da
treefafb655467444e577fc4ff789a7bf2af9ddba45c
parent84433f396957502486bc37a1a41067227d93eace
random: remove variable limit

The variable limit was used to identify the nonblocking pool's unlimited
random number generation. As the nonblocking pool is a thing of the
past, remove the limit variable and any conditions around it (i.e.
preserve the branches for limit == 1).

Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
drivers/char/random.c