diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-12-21 07:22:30 (GMT) |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-12-30 12:19:17 (GMT) |
commit | d781728a1593354f37f9b806ba3482a413f20498 (patch) | |
tree | bb6c7b84ecfbb0e11f63e5824b34c59f8ec3905a /drivers | |
parent | b8d9a50412ecab1621603cb42752a52855d8194e (diff) | |
download | linux-d781728a1593354f37f9b806ba3482a413f20498.tar.xz |
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')
-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 a3d2e9b..5967667 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; |