[PATCH 2/7] hwrng: ingenic - remove two unused defines
Martin Kaiser
martin at kaiser.cx
Mon Jul 10 13:27:28 PDT 2023
Remove two defines which are not used in the ingenic-trng driver's code.
Signed-off-by: Martin Kaiser <martin at kaiser.cx>
---
drivers/char/hw_random/ingenic-trng.c | 2 --
1 file changed, 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 */
--
2.30.2
More information about the linux-arm-kernel
mailing list