git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/mlx5e: Eliminate build warnings on no previous prototype
[sfrench/cifs-2.6.git]
/
drivers
/
net
/
ethernet
/
mellanox
/
mlx5
/
core
/
en_main.c
diff --git
a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
index 47bab842c5eea8656a68002440d616c7c94c4611..a64b9226d281e424c93438ccf84a1d1bc58dcdaf 100644
(file)
--- a/
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
+++ b/
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
@@
-2994,8
+2994,8
@@
static int mlx5e_setup_tc_block(struct net_device *dev,
}
#endif
-int mlx5e_setup_tc(struct net_device *dev, enum tc_setup_type type,
- void *type_data)
+
static
int mlx5e_setup_tc(struct net_device *dev, enum tc_setup_type type,
+
void *type_data)
{
switch (type) {
#ifdef CONFIG_MLX5_ESWITCH