Skip to content

Commit

Permalink
crypto: dcp - Use NULL instead of 0
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sachin Kamat authored and Herbert Xu committed Jun 5, 2013
1 parent 0bc8a71 commit c241547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/crypto/dcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit c241547

Please sign in to comment.