summaryrefslogtreecommitdiff
path: root/drivers/scsi/scsi_debugfs.c
diff options
context:
space:
mode:
authorChuhong Yuan <hslester96@gmail.com>2019-07-18 15:45:18 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2019-07-30 12:20:38 -0400
commit56cc8fae5f7e9f38cb367754c52491ba1645d1bf (patch)
tree8b930236fccc2f92dc6cdd0e4bbb0bbc493f14d4 /drivers/scsi/scsi_debugfs.c
parent22d5aa3a4570b1419003d19992080c423dbf1734 (diff)
scsi: qla2xxx: Replace vmalloc + memset with vzalloc
Use vzalloc instead of using vmalloc to allocate memory and then zeroing it with memset. This simplifies the code. Signed-off-by: Chuhong Yuan <hslester96@gmail.com> Acked-by: Himanshu Madhani <hmadhani@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_debugfs.c')
0 files changed, 0 insertions, 0 deletions