hwrng: omap - Remove useless test before clk_disable_unprepare
authorGregory CLEMENT <gregory.clement@bootlin.com>
Wed, 28 Feb 2018 14:27:22 +0000 (15:27 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 9 Mar 2018 14:45:40 +0000 (22:45 +0800)
commit10bc320bc9d7f335651c7740b1c6034ba4bfc4f4
tree1b5ae6ba675f6a05a3d9c28c42bf12d5e71329c0
parent5007387fc016db6c4330fc702e08356b2afd71ce
hwrng: omap - Remove useless test before clk_disable_unprepare

clk_disable_unprepare() already checks that the clock pointer is valid.
No need to test it before calling it.

Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/omap-rng.c