mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-29 14:55:12 +00:00
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…
x
Reference in New Issue
Block a user