]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: limit the function in local scope
authorZhu Yanjun <zyjzyj2000@gmail.com>
Sat, 14 Dec 2019 08:51:17 +0000 (10:51 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 7 Jan 2020 18:40:22 +0000 (10:40 -0800)
commitbdba7aecdde13653d682575778e3e912f2736927
treebd3b374c14f21062c4e9645388da664c20716926
parentc76b1c66ae9328e4cc3d808a555f20e4ba27ae81
net/mlx5: limit the function in local scope

The function mlx5_buf_alloc_node is only used by the function in the
local scope. So it is appropriate to limit this function in the local
scope.

Signed-off-by: Zhu Yanjun <zyjzyj2000@gmail.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/alloc.c
include/linux/mlx5/driver.h