hwrng: don't double-check old_rng.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 8 Dec 2014 08:50:39 +0000 (16:50 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 22 Dec 2014 12:02:40 +0000 (23:02 +1100)
commitebbbfa248389b176e2e62d8cf91814253849ccc9
tree8f68d43898fc9bb1fccfdb931e4192f9553fd64b
parenta027f30d72f2c4d27d6dd9bd053205d3102de7d1
hwrng: don't double-check old_rng.

Interesting anti-pattern.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/core.c