crypto: ansi_cprng - Fix test in get_prng_bytes
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 27 Oct 2009 10:51:33 +0000 (18:51 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 27 Oct 2009 10:51:33 +0000 (18:51 +0800)
size_t nbytes cannot be less than 0 and the test was redundant.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

No differences found