From: Andrew Lunn Date: Sat, 8 Dec 2018 16:06:31 +0000 (+0100) Subject: net: dsa: Make dsa_master_set_mtu() static X-Git-Tag: v5.0-rc1~129^2~126 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a60956ed72f7b715e9918df93fcf2f63a30fdda1;p=thirdparty%2Fkernel%2Flinux.git net: dsa: Make dsa_master_set_mtu() static Add the missing static keyword. Signed-off-by: Andrew Lunn Signed-off-by: David S. Miller --- diff --git a/net/dsa/master.c b/net/dsa/master.c index a25242e71fb2f..d7d5145aa2351 100644 --- a/net/dsa/master.c +++ b/net/dsa/master.c @@ -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;