Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Andrew Lunn and committed by
David S. Miller
a60956ed 91ba4795

+1 -1
+1 -1
net/dsa/master.c
··· 158 158 cpu_dp->orig_ethtool_ops = NULL; 159 159 } 160 160 161 - void dsa_master_set_mtu(struct net_device *dev, struct dsa_port *cpu_dp) 161 + static void dsa_master_set_mtu(struct net_device *dev, struct dsa_port *cpu_dp) 162 162 { 163 163 unsigned int mtu = ETH_DATA_LEN + cpu_dp->tag_ops->overhead; 164 164 int err;