projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d421139
)
hwrng: ingenic - remove two unused defines
author
Martin Kaiser
<martin@kaiser.cx>
Mon, 10 Jul 2023 20:27:28 +0000
(22:27 +0200)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Sat, 22 Jul 2023 01:59:36 +0000
(13:59 +1200)
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>
drivers/char/hw_random/ingenic-trng.c
patch
|
blob
|
history
diff --git
a/drivers/char/hw_random/ingenic-trng.c
b/drivers/char/hw_random/ingenic-trng.c
index 0eb80f786f4dd57506f0a004b729e3d832e85798..64286cbdf15865949cd084419812deb108f51a12 100644
(file)
--- 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 */