summaryrefslogtreecommitdiff
path: root/drivers/char/hw_random
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2023-07-10 23:27:28 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2023-07-22 04:59:36 +0300
commit4cb9a7271f46eb1cc58099a3503d4b3f3969e37c (patch)
treeb296253952d59f5797fd155c99a3b3f2bcda6d57 /drivers/char/hw_random
parentd4211390d88902462a7642eb22fd83083588eaf7 (diff)
downloadlinux-4cb9a7271f46eb1cc58099a3503d4b3f3969e37c.tar.xz
hwrng: ingenic - remove two unused defines
Remove two defines which are not used in the ingenic-trng driver's code. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char/hw_random')
-rw-r--r--drivers/char/hw_random/ingenic-trng.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/hw_random/ingenic-trng.c b/drivers/char/hw_random/ingenic-trng.c
index 0eb80f786f4d..64286cbdf158 100644
--- a/drivers/char/hw_random/ingenic-trng.c
+++ b/drivers/char/hw_random/ingenic-trng.c
@@ -22,8 +22,6 @@
#define TRNG_REG_STATUS_OFFSET 0x08
/* bits within the CFG register */
-#define CFG_RDY_CLR BIT(12)
-#define CFG_INT_MASK BIT(11)
#define CFG_GEN_EN BIT(0)
/* bits within the STATUS register */