diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-29 17:09:11 +0530 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-06-05 16:43:08 +0800 |
commit | c2415471702e29a1a39a2e8b46996ecc0f95788c (patch) | |
tree | e0ea5eb17dbcc3f714587f3ef644adced9345644 /drivers/crypto | |
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')
-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 9e91c2cf3bf..49dd560c015 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); } |