Skip to content
Commit 5a860f91 authored by Chuhong Yuan's avatar Chuhong Yuan Committed by David S. Miller
Browse files

liquidio: Replace vmalloc + memset with vzalloc



Use vzalloc and vzalloc_node instead of using vmalloc and
vmalloc_node and then zeroing the allocated memory by
memset 0.
This simplifies the code.

Signed-off-by: default avatarChuhong Yuan <hslester96@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 666a3d6e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment