]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite9c2018128b14d8fb5c0132d84adf05467ba4480
tree902b40455b5668cc163c21a3e402f83e6a2b5d8e
parente80b27608829a66e8dbb9bbc53e7159b90a78ba1
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