diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-29 07:39:11 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-06-05 04:43:08 -0400 |
commit | c2415471702e29a1a39a2e8b46996ecc0f95788c (patch) | |
tree | e0ea5eb17dbcc3f714587f3ef644adced9345644 /drivers/crypto/dcp.c | |
parent | 0bc8a7188ff1b9b1cca2e49fd78f0e1797a75631 (diff) |
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/dcp.c')
-rw-r--r-- | drivers/crypto/dcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/dcp.c b/drivers/crypto/dcp.c index 9e91c2cf3bf8..49dd560c0152 100644 --- a/drivers/crypto/dcp.c +++ b/drivers/crypto/dcp.c | |||
@@ -408,7 +408,7 @@ static void dcp_done_task(unsigned long data) | |||
408 | ablkcipher_walk_complete(&dev->ctx->walk); | 408 | ablkcipher_walk_complete(&dev->ctx->walk); |
409 | dev->ctx->req->base.complete(&dev->ctx->req->base, | 409 | dev->ctx->req->base.complete(&dev->ctx->req->base, |
410 | dev->ctx->stat); | 410 | dev->ctx->stat); |
411 | dev->ctx->req = 0; | 411 | dev->ctx->req = NULL; |
412 | /* in case there are other requests in the queue */ | 412 | /* in case there are other requests in the queue */ |
413 | tasklet_schedule(&dev->queue_task); | 413 | tasklet_schedule(&dev->queue_task); |
414 | } | 414 | } |