scsi: qla2xxx: Replace vmalloc + memset with vzalloc
authorChuhong Yuan <hslester96@gmail.com>
Thu, 18 Jul 2019 07:45:18 +0000 (15:45 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 30 Jul 2019 16:20:38 +0000 (12:20 -0400)
commit56cc8fae5f7e9f38cb367754c52491ba1645d1bf
tree8b930236fccc2f92dc6cdd0e4bbb0bbc493f14d4
parent22d5aa3a4570b1419003d19992080c423dbf1734
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>
drivers/scsi/qla2xxx/qla_attr.c