Skip to content
Snippets Groups Projects
Commit 5f2ab0c1 authored by Fuqian Huang's avatar Fuqian Huang Committed by Jens Axboe
Browse files

block: skd_main.c: Remove call to memset after dma_alloc_coherent

In commit af7ddd8a
("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.

Reviewed-by: default avatarChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: default avatarFuqian Huang <huangfq.daxian@gmail.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent b71e8c13
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment