mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 08:31:13 +00:00
net: dsa: Make dsa_master_set_mtu() static
Add the missing static keyword. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
91ba479573
commit
a60956ed72
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ static void dsa_master_ethtool_teardown(struct net_device *dev)
|
||||||
cpu_dp->orig_ethtool_ops = NULL;
|
cpu_dp->orig_ethtool_ops = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void dsa_master_set_mtu(struct net_device *dev, struct dsa_port *cpu_dp)
|
static void dsa_master_set_mtu(struct net_device *dev, struct dsa_port *cpu_dp)
|
||||||
{
|
{
|
||||||
unsigned int mtu = ETH_DATA_LEN + cpu_dp->tag_ops->overhead;
|
unsigned int mtu = ETH_DATA_LEN + cpu_dp->tag_ops->overhead;
|
||||||
int err;
|
int err;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue