Commit d781728a authored by Sachin Kamat's avatar Sachin Kamat Committed by Herbert Xu

crypto: talitos - Remove redundant dev_set_drvdata

Driver core sets it to NULL upon probe failure or release.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent b8d9a504
......@@ -2495,8 +2495,6 @@ static int talitos_remove(struct platform_device *ofdev)
iounmap(priv->reg);
dev_set_drvdata(dev, NULL);
kfree(priv);
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment