Re: [PATCH] hw_random: Remove check for max less than 4 bytes

2016-08-31 Thread Herbert Xu
On Sat, Aug 27, 2016 at 12:02:04AM +0530, PrasannaKumar Muralidharan wrote: > 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 Patch applied. Thanks. -- Email: Herbert

[PATCH] hw_random: Remove check for max less than 4 bytes

2016-08-26 Thread PrasannaKumar Muralidharan
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 --- drivers/char/hw_random/meson-rng.c | 3 --- drivers/char/hw_random/st-rng.c| 3 --- 2 files changed, 6 deletions(-) d