Skip to content
Commit 56cc8fae authored by Chuhong Yuan's avatar Chuhong Yuan Committed by Martin K. Petersen
Browse files

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: default avatarChuhong Yuan <hslester96@gmail.com>
Acked-by: default avatarHimanshu Madhani <hmadhani@marvell.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 22d5aa3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment