]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
block: mtip32xx: Remove call to memset after dma_alloc_coherent
authorFuqian Huang <huangfq.daxian@gmail.com>
Thu, 27 Jun 2019 17:35:04 +0000 (01:35 +0800)
committerJens Axboe <axboe@kernel.dk>
Sat, 29 Jun 2019 15:42:50 +0000 (09:42 -0600)
commitb71e8c13fa57811b64939ba7eb603775fb13c2eb
treef25a5a8fb5247597a980200431b3296084918231
parent15ddffcb341392ba56a28a0ff5d19d8f8cde1b80
block: mtip32xx: Remove call to 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: Jens Axboe <axboe@kernel.dk>
drivers/block/mtip32xx/mtip32xx.c