提交 a60956ed 编写于 作者: A Andrew Lunn 提交者: David S. Miller

net: dsa: Make dsa_master_set_mtu() static

Add the missing static keyword.
Signed-off-by: NAndrew Lunn <andrew@lunn.ch>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 91ba4795
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册