hwrng: timeriomem - Remove 'max < 4' condition check
authorPrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Tue, 22 Aug 2017 16:22:24 +0000 (21:52 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Sep 2017 09:43:14 +0000 (17:43 +0800)
commitc0133b009ec28eee27966f6e3ed99bfdb3f17a21
treef5127b1ba0047c57ad6041085ad830b1f8df4b47
parent46d93748e5a3628f9f553832cd64d8a59d8bafde
hwrng: timeriomem - Remove 'max < 4' condition check

In read routiene max is always >= 4. The check whether 'max < 4' is not
necessary. Remove it.

Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Acked-By: Rick Altherr <raltherr@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/timeriomem-rng.c