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)
commit43d8a72cd985ca5279a9eb84d61fcbb3ee3d3774
treefafb655467444e577fc4ff789a7bf2af9ddba45c
parent2e03c36f25ebb52d3358b8baebcdf96895c33a87
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