提交 c09e2cc6 编写于 作者: F Fabio Estevam 提交者: Herbert Xu

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: NFabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 1bf2138e
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册