From: Chuhong Yuan
Date: Thu, 18 Jul 2019 15:45:42 +0800
> 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: Chuhong Yuan
Applied.
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: Chuhong Yuan
---
drivers/net/ethernet/cavium/liquidio/request_manager.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
2 matches
Mail list logo