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
|
@ -158,7 +158,7 @@ static void dsa_master_ethtool_teardown(struct net_device *dev)
|
|||
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;
|
||||
int err;
|
||||
|
|
Loading…
Reference in New Issue