Commit a60956ed authored by Andrew Lunn's avatar Andrew Lunn Committed by David S. Miller
Browse files

net: dsa: Make dsa_master_set_mtu() static



Add the missing static keyword.

Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 91ba4795
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;