sh: remove call to memset after dma_alloc_coherent
authorChen Zhou <chenzhou10@huawei.com>
Thu, 2 Jan 2020 01:54:30 +0000 (09:54 +0800)
committerRich Felker <dalias@libc.org>
Sat, 15 Aug 2020 02:05:03 +0000 (22:05 -0400)
commit2202d81b098ef776153c6b40c5404d486042a3ed
tree1ed9f3df820e1f90dcffc5bb80bb0932de492550
parentbe74273aee2c94e8322404d0b6e84e4f30d911ed
sh: remove call to memset after dma_alloc_coherent

Function dma_alloc_coherent use in buf already zeroes out memory,
so memset is not needed.

Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
Signed-off-by: Rich Felker <dalias@libc.org>
arch/sh/mm/consistent.c