crypto: amcc - remove memset after dma_alloc_coherent
authorFuqian Huang <huangfq.daxian@gmail.com>
Fri, 28 Jun 2019 02:46:31 +0000 (10:46 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 3 Jul 2019 14:13:12 +0000 (22:13 +0800)
commit66d9c1cf9f95d96aa211d9f732cd42e93e2c1508
treec43b2ad287d1ecffe05df5f309f92c12c1b2b581
parent600bac009ea9822d371aae03d33fc05991c5b5a2
crypto: amcc - remove memset after dma_alloc_coherent

In commit af7ddd8a627c
("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"),
dma_alloc_coherent has already zeroed the memory.
So memset is not needed.

Signed-off-by: Fuqian Huang <huangfq.daxian@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/amcc/crypto4xx_core.c