projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29d8ebd
)
net/mlx5: Unexport functions that need not be exported
author
Eli Cohen
<
[email protected]
>
Wed, 8 Aug 2018 23:23:52 +0000
(16:23 -0700)
committer
David S. Miller
<
[email protected]
>
Thu, 9 Aug 2018 02:34:55 +0000
(19:34 -0700)
mlx5_query_vport_state() and mlx5_modify_vport_admin_state() are used
only from within mlx5_core - unexport them.
Signed-off-by: Eli Cohen <
[email protected]
>
Reviewed-by: Or Gerlitz <
[email protected]
>
Signed-off-by: Saeed Mahameed <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/mellanox/mlx5/core/vport.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/mellanox/mlx5/core/vport.c
b/drivers/net/ethernet/mellanox/mlx5/core/vport.c
index fa6fa171b94cc312a75f5b323a79836f5a23e9ff..b02af317c1255698b5ee09e49451006315b86f3c 100644
(file)
--- a/
drivers/net/ethernet/mellanox/mlx5/core/vport.c
+++ b/
drivers/net/ethernet/mellanox/mlx5/core/vport.c
@@
-62,7
+62,6
@@
u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport)
return MLX5_GET(query_vport_state_out, out, state);
}
-EXPORT_SYMBOL_GPL(mlx5_query_vport_state);
int mlx5_modify_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod,
u16 vport, u8 state)
@@
-80,7
+79,6
@@
int mlx5_modify_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod,
return mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out));
}
-EXPORT_SYMBOL_GPL(mlx5_modify_vport_admin_state);
static int mlx5_query_nic_vport_context(struct mlx5_core_dev *mdev, u16 vport,
u32 *out, int outlen)