diff options
| author | Chuhong Yuan <hslester96@gmail.com> | 2019-07-18 15:45:18 +0800 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-07-30 12:20:38 -0400 |
| commit | 56cc8fae5f7e9f38cb367754c52491ba1645d1bf (patch) | |
| tree | 8b930236fccc2f92dc6cdd0e4bbb0bbc493f14d4 /kernel/irq_work.c | |
| parent | 22d5aa3a4570b1419003d19992080c423dbf1734 (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 'kernel/irq_work.c')
0 files changed, 0 insertions, 0 deletions
