summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/talitos.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-12-21 12:52:30 +0530
committerHerbert Xu <herbert@gondor.apana.org.au>2013-12-30 20:19:17 +0800
commitd781728a1593354f37f9b806ba3482a413f20498 (patch)
treebb6c7b84ecfbb0e11f63e5824b34c59f8ec3905a /drivers/crypto/talitos.c
parentb8d9a50412ecab1621603cb42752a52855d8194e (diff)
downloadlinux-d781728a1593354f37f9b806ba3482a413f20498.tar.bz2
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/talitos.c')
-rw-r--r--drivers/crypto/talitos.c2
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;