1
0
Fork 0

hwrng: mxc-rnga - Remove uneeded initialization

There is no need to pre-initialize variable 'err' as this
initial value will be overwritten later on.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
hifive-unleashed-5.1
Fabio Estevam 2015-09-12 20:19:51 -03:00 committed by Herbert Xu
parent 1bf2138e98
commit c09e2cc694
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ static void mxc_rnga_cleanup(struct hwrng *rng)
static int __init mxc_rnga_probe(struct platform_device *pdev)
{
int err = -ENODEV;
int err;
struct resource *res;
struct mxc_rng *mxc_rng;