From: Sachin Kamat Date: Wed, 29 May 2013 11:39:11 +0000 (+0530) Subject: crypto: dcp - Use NULL instead of 0 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c2415471702e29a1a39a2e8b46996ecc0f95788c;p=linux-beck.git crypto: dcp - Use NULL instead of 0 Use NULL instead of 0 for pointer variables. Signed-off-by: Sachin Kamat Tested-by: Tobias Rauter Signed-off-by: Herbert Xu --- 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) 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); }