]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6d97850c2f0775c4688a0405370b7fbdd7841190
tree1ed9f3df820e1f90dcffc5bb80bb0932de492550
parent831f8292c107722012d2eb561607982963bb91f6
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