Commit c09e2cc6 authored by Fabio Estevam's avatar Fabio Estevam Committed by Herbert Xu
Browse files

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: default avatarFabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 1bf2138e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;