crypto: dcp - Use NULL instead of 0

Use NULL instead of 0 for pointer variables.

Signed-off-by: Sachin Kamat <[email protected]>
Tested-by: Tobias Rauter <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
Sachin Kamat 2013-05-29 17:09:11 +05:30 • committed by Herbert Xu
commit c241547170

View file

@ -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);
}