summaryrefslogtreecommitdiff
path: root/drivers/crypto
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-29 11:39:11 (GMT)
committerHerbert Xu <herbert@gondor.apana.org.au>2013-06-05 08:43:08 (GMT)
commitc2415471702e29a1a39a2e8b46996ecc0f95788c (patch)
treee0ea5eb17dbcc3f714587f3ef644adced9345644 /drivers/crypto
parent0bc8a7188ff1b9b1cca2e49fd78f0e1797a75631 (diff)
downloadlinux-c2415471702e29a1a39a2e8b46996ecc0f95788c.tar.xz
crypto: dcp - Use NULL instead of 0
Use NULL instead of 0 for pointer variables. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Tested-by: Tobias Rauter <tobiasrauter@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/dcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/dcp.c b/drivers/crypto/dcp.c
index 9e91c2c..49dd560 100644
--- a/drivers/crypto/dcp.c
+++ b/drivers/crypto/dcp.c
@@ -408,7 +408,7 @@ static void dcp_done_task(unsigned long data)
ablkcipher_walk_complete(&dev->ctx->walk);
dev->ctx->req->base.complete(&dev->ctx->req->base,
dev->ctx->stat);
- dev->ctx->req = 0;
+ dev->ctx->req = NULL;
/* in case there are other requests in the queue */
tasklet_schedule(&dev->queue_task);
}