crypto: talitos - Remove redundant dev_set_drvdata
Driver core sets it to NULL upon probe failure or release. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
b8d9a50412
commit
d781728a15
1 changed files with 0 additions and 2 deletions
|
@ -2495,8 +2495,6 @@ static int talitos_remove(struct platform_device *ofdev)
|
||||||
|
|
||||||
iounmap(priv->reg);
|
iounmap(priv->reg);
|
||||||
|
|
||||||
dev_set_drvdata(dev, NULL);
|
|
||||||
|
|
||||||
kfree(priv);
|
kfree(priv);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue