提交 c2415471 编写于 作者: S Sachin Kamat 提交者: Herbert Xu

crypto: dcp - Use NULL instead of 0

Use NULL instead of 0 for pointer variables.
Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
Tested-by: NTobias Rauter <tobiasrauter@gmail.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 0bc8a718
...@@ -408,7 +408,7 @@ static void dcp_done_task(unsigned long data) ...@@ -408,7 +408,7 @@ static void dcp_done_task(unsigned long data)
ablkcipher_walk_complete(&dev->ctx->walk); ablkcipher_walk_complete(&dev->ctx->walk);
dev->ctx->req->base.complete(&dev->ctx->req->base, dev->ctx->req->base.complete(&dev->ctx->req->base,
dev->ctx->stat); dev->ctx->stat);
dev->ctx->req = 0; dev->ctx->req = NULL;
/* in case there are other requests in the queue */ /* in case there are other requests in the queue */
tasklet_schedule(&dev->queue_task); tasklet_schedule(&dev->queue_task);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册