]> 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)
commite91a71b75f3634ce024689f9ef4a6bad4d2adefd
tree1ed9f3df820e1f90dcffc5bb80bb0932de492550
parent999de95140593636d557a9ff22e5fef238ab948d
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