OSDN Git Service

hwrng: omap - Fix W=1 unused variable warning
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 29 Jun 2020 08:03:55 +0000 (18:03 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 9 Jul 2020 08:25:11 +0000 (18:25 +1000)
commit414a3c1b811da4ba4ebe441f3e69a17c053196a2
tree902b40455b5668cc163c21a3e402f83e6a2b5d8e
parent9a150af05f6f73186e0017a37104b5eb061ee627
hwrng: omap - Fix W=1 unused variable warning

This patch fixes an unused variable warning when this driver is
built-in with CONFIG_OF=n.  While we're at it this patch also
expands the compiler coverage when CONFIG_OF is off by removing
all the CONFIG_OF ifdefs.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/omap-rng.c