Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net/mlx5: DR, Remove unneeded local variable

Remove local variable that is already defined outside of
the scope of this block.

Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>

authored by

Yevgeny Kliteynik and committed by
Saeed Mahameed
a15e472f f83e2d8a

-1
-1
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c
··· 1422 1422 case DR_ACTION_TYP_TNL_L3_TO_L2: 1423 1423 { 1424 1424 u8 *hw_actions; 1425 - int ret; 1426 1425 1427 1426 hw_actions = kzalloc(DR_ACTION_CACHE_LINE_SIZE, GFP_KERNEL); 1428 1427 if (!hw_actions)