diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-12-21 08:22:30 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-12-30 13:19:17 +0100 |
commit | d781728a1593354f37f9b806ba3482a413f20498 (patch) | |
tree | bb6c7b84ecfbb0e11f63e5824b34c59f8ec3905a /drivers/crypto | |
parent | crypto: ccp - Remove redundant dev_set_drvdata (diff) | |
download | linux-d781728a1593354f37f9b806ba3482a413f20498.tar.xz linux-d781728a1593354f37f9b806ba3482a413f20498.zip |
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>
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/talitos.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talitos.c index a3d2e9b88c41..5967667e1a8f 100644 --- a/drivers/crypto/talitos.c +++ b/drivers/crypto/talitos.c @@ -2495,8 +2495,6 @@ static int talitos_remove(struct platform_device *ofdev) iounmap(priv->reg); - dev_set_drvdata(dev, NULL); - kfree(priv); return 0; |