Commit cade4555 authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller

team: add missed "statics"

Signed-off-by: default avatarJiri Pirko <jpirko@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 679b1607
...@@ -65,7 +65,7 @@ static int __set_port_mac(struct net_device *port_dev, ...@@ -65,7 +65,7 @@ static int __set_port_mac(struct net_device *port_dev,
return dev_set_mac_address(port_dev, &addr); return dev_set_mac_address(port_dev, &addr);
} }
int team_port_set_orig_mac(struct team_port *port) static int team_port_set_orig_mac(struct team_port *port)
{ {
return __set_port_mac(port->dev, port->orig.dev_addr); return __set_port_mac(port->dev, port->orig.dev_addr);
} }
......
...@@ -90,12 +90,12 @@ static const struct team_option ab_options[] = { ...@@ -90,12 +90,12 @@ static const struct team_option ab_options[] = {
}, },
}; };
int ab_init(struct team *team) static int ab_init(struct team *team)
{ {
return team_options_register(team, ab_options, ARRAY_SIZE(ab_options)); return team_options_register(team, ab_options, ARRAY_SIZE(ab_options));
} }
void ab_exit(struct team *team) static void ab_exit(struct team *team)
{ {
team_options_unregister(team, ab_options, ARRAY_SIZE(ab_options)); team_options_unregister(team, ab_options, ARRAY_SIZE(ab_options));
} }
......
...@@ -130,13 +130,13 @@ static const struct team_option lb_options[] = { ...@@ -130,13 +130,13 @@ static const struct team_option lb_options[] = {
}, },
}; };
int lb_init(struct team *team) static int lb_init(struct team *team)
{ {
return team_options_register(team, lb_options, return team_options_register(team, lb_options,
ARRAY_SIZE(lb_options)); ARRAY_SIZE(lb_options));
} }
void lb_exit(struct team *team) static void lb_exit(struct team *team)
{ {
team_options_unregister(team, lb_options, team_options_unregister(team, lb_options,
ARRAY_SIZE(lb_options)); ARRAY_SIZE(lb_options));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment