summaryrefslogtreecommitdiff
path: root/drivers/char/hw_random/ingenic-trng.c
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2023-07-10 22:27:28 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2023-07-22 13:59:36 +1200
commit4cb9a7271f46eb1cc58099a3503d4b3f3969e37c (patch)
treeb296253952d59f5797fd155c99a3b3f2bcda6d57 /drivers/char/hw_random/ingenic-trng.c
parentd4211390d88902462a7642eb22fd83083588eaf7 (diff)
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/ingenic-trng.c')
-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 */