summaryrefslogtreecommitdiff
path: root/drivers/rng/stm32mp1_rng.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rng/stm32mp1_rng.c')
-rw-r--r--drivers/rng/stm32mp1_rng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rng/stm32mp1_rng.c b/drivers/rng/stm32mp1_rng.c
index dab3b995eb..e0f0a66c6e 100644
--- a/drivers/rng/stm32mp1_rng.c
+++ b/drivers/rng/stm32mp1_rng.c
@@ -33,7 +33,7 @@ struct stm32_rng_platdata {
static int stm32_rng_read(struct udevice *dev, void *data, size_t len)
{
- int retval = 0, i;
+ int retval, i;
u32 sr, count, reg;
size_t increment;
struct stm32_rng_platdata *pdata = dev_get_platdata(dev);