Re: [PATCH] scsi: don't memset to zero after dma_alloc_coherent

From: Sergei Shtylyov
Date: Thu Dec 26 2019 - 06:04:19 EST


Hello!

On 25.12.2019 16:23, yu kuai wrote:

dma_alloc_coherent already zeros out memory, so memset to zero is not
needed.

Signed-off-by: yu kuai <yukuai3@xxxxxxxxxx>
---
arch/sh/mm/consistent.c | 2 --

How this one is related to SCSI?

drivers/scsi/dpt_i2o.c | 4 ----
drivers/scsi/mpt3sas/mpt3sas_base.c | 1 -
drivers/scsi/mvsas/mv_init.c | 4 ----
drivers/scsi/pmcraid.c | 1 -
5 files changed, 12 deletions(-)
[...]

MBR, Sergei