Commit 4c977e37 authored by Tudor Ambarus's avatar Tudor Ambarus Committed by Herbert Xu

crypto: atmel-sha - Void return type for atmel_sha_update_dma_stop()

No error handling, change return type to void.
Signed-off-by: default avatarTudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 9a17007b
...@@ -852,7 +852,7 @@ static int atmel_sha_update_dma_start(struct atmel_sha_dev *dd) ...@@ -852,7 +852,7 @@ static int atmel_sha_update_dma_start(struct atmel_sha_dev *dd)
0, final); 0, final);
} }
static int atmel_sha_update_dma_stop(struct atmel_sha_dev *dd) static void atmel_sha_update_dma_stop(struct atmel_sha_dev *dd)
{ {
struct atmel_sha_reqctx *ctx = ahash_request_ctx(dd->req); struct atmel_sha_reqctx *ctx = ahash_request_ctx(dd->req);
...@@ -871,8 +871,6 @@ static int atmel_sha_update_dma_stop(struct atmel_sha_dev *dd) ...@@ -871,8 +871,6 @@ static int atmel_sha_update_dma_stop(struct atmel_sha_dev *dd)
dma_unmap_single(dd->dev, ctx->dma_addr, ctx->buflen + dma_unmap_single(dd->dev, ctx->dma_addr, ctx->buflen +
ctx->block_size, DMA_TO_DEVICE); ctx->block_size, DMA_TO_DEVICE);
} }
return 0;
} }
static int atmel_sha_update_req(struct atmel_sha_dev *dd) static int atmel_sha_update_req(struct atmel_sha_dev *dd)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment