projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91ba479
)
net: dsa: Make dsa_master_set_mtu() static
author
Andrew Lunn
<andrew@lunn.ch>
Sat, 8 Dec 2018 16:06:31 +0000
(17:06 +0100)
committer
David S. Miller
<davem@davemloft.net>
Sun, 9 Dec 2018 05:39:19 +0000
(21:39 -0800)
Add the missing static keyword.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/master.c
patch
|
blob
|
history
diff --git
a/net/dsa/master.c
b/net/dsa/master.c
index a25242e71fb2f3e485da8d43bc7a63db2977b991..d7d5145aa2351a145fef00030a87785b2601e011 100644
(file)
--- 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;