scsi: scsi_debug: Remove a useless memset()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 7 Sep 2024 06:27:22 +0000 (08:27 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 13 Sep 2024 00:45:48 +0000 (20:45 -0400)
commitbba20b894e3c2e20f1ac914561b9ac241e0e359e
treed68e7427479bb928ee2ccf71257b7b5369b9f020
parent4708c9332d975aabc8498ddb85936631535fdc20
scsi: scsi_debug: Remove a useless memset()

'arr' is kzalloc()'ed, so there is no need to call memset(.., 0, ...) on
it. It is already cleared.

This is a follow up of commit b952eb270df3 ("scsi: scsi_debug: Allocate the
MODE SENSE response from the heap").

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/6296722174e39a51cac74b7fc68b0d75bd0db2a3.1725690433.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_debug.c