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
|
@ -2495,8 +2495,6 @@ static int talitos_remove(struct platform_device *ofdev)
|
|||
|
||||
iounmap(priv->reg);
|
||||
|
||||
dev_set_drvdata(dev, NULL);
|
||||
|
||||
kfree(priv);
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue