projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36225b9
)
crypto: marvell - remove unused parameter in mv_cesa_ahash_dma_add_cache()
author
Thomas Petazzoni
<
[email protected]
>
Tue, 9 Aug 2016 09:03:15 +0000
(11:03 +0200)
committer
Herbert Xu
<
[email protected]
>
Tue, 9 Aug 2016 10:47:29 +0000
(18:47 +0800)
The dma_iter parameter of mv_cesa_ahash_dma_add_cache() is never used,
so get rid of it.
Signed-off-by: Thomas Petazzoni <
[email protected]
>
Signed-off-by: Herbert Xu <
[email protected]
>
drivers/crypto/marvell/hash.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/marvell/hash.c
b/drivers/crypto/marvell/hash.c
index 82e0f4e6eb1ca92ba07fe7fc0328398955f90278..0d7f5f9ace143e9bbc2968c86b803e73d522a379 100644
(file)
--- a/
drivers/crypto/marvell/hash.c
+++ b/
drivers/crypto/marvell/hash.c
@@
-455,7
+455,6
@@
mv_cesa_dma_add_frag(struct mv_cesa_tdma_chain *chain,
static int
mv_cesa_ahash_dma_add_cache(struct mv_cesa_tdma_chain *chain,
- struct mv_cesa_ahash_dma_iter *dma_iter,
struct mv_cesa_ahash_req *creq,
gfp_t flags)
{
@@
-586,7
+585,7
@@
static int mv_cesa_ahash_dma_req_init(struct ahash_request *req)
* Add the cache (left-over data from a previous block) first.
* This will never overflow the SRAM size.
*/
- ret = mv_cesa_ahash_dma_add_cache(&basereq->chain,
&iter,
creq, flags);
+ ret = mv_cesa_ahash_dma_add_cache(&basereq->chain, creq, flags);
if (ret)
goto err_free_tdma;