hwrng: Remove check for max less than 4 bytes
authorPrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Fri, 26 Aug 2016 18:32:04 +0000 (00:02 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 31 Aug 2016 15:00:49 +0000 (23:00 +0800)
commit68734bc9f58ee01f1b530394cc31d58e364125f6
treef6ed179b8fa66ebd31e07e873d8b04c37416a7b5
parent27c4d548af958233e26ab5b00719ff3e49b3aebe
hwrng: Remove check for max less than 4 bytes

HW RNG core never asks for data less than 4 bytes. The check whether max
is less than 4 bytes is unnecessary. Remove the check.

Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/meson-rng.c
drivers/char/hw_random/st-rng.c