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)
commit8007880a2ca97c34e7ccd1fcf12daf854b792544
treebd3b374c14f21062c4e9645388da664c20716926
parent1b935183aeff11256b20a490b5ed37116b054fe2
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