mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 14:41:31 +00:00
stm32mp1: rng: remove superfluous assignment
We should not assign a value that is overwritten before use. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Acked-by: Sughosh Ganu <sughosh.ganu@linaro.org> Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
This commit is contained in:
parent
9e1d65f36b
commit
250b303de8
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue