diff mbox series

[2/7] hwrng: ingenic - remove two unused defines

Message ID 20230710202733.116133-3-martin@kaiser.cx
State Accepted
Commit 4cb9a7271f46eb1cc58099a3503d4b3f3969e37c
Headers show
Series [1/7] hwrng: ingenic - enable compile testing | expand

Commit Message

Martin Kaiser July 10, 2023, 8:27 p.m. UTC
Remove two defines which are not used in the ingenic-trng driver's code.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
---
 drivers/char/hw_random/ingenic-trng.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

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 */