aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorkbuild test robot2020-04-02 09:25:48 +0800
committerDavid S. Miller2020-04-02 06:51:56 -0700
commitbf88dc327de8c311078da557788af5d88b74c8e5 (patch)
tree1179264d99bb3ac5a2a3735ba8a6d6a3ebae5a05 /net
parent86287543715ac2a6d92d561cc105d79306511457 (diff)
net: dsa: dsa_bridge_mtu_normalization() can be static
Fixes: f41071407c85 ("net: dsa: implement auto-normalization of MTU for bridge hardware datapath") Signed-off-by: kbuild test robot <lkp@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/dsa/slave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dsa/slave.c b/net/dsa/slave.c
index 5390ff541658..e94eb1aac602 100644
--- a/net/dsa/slave.c
+++ b/net/dsa/slave.c
@@ -1338,7 +1338,7 @@ static void dsa_hw_port_list_free(struct list_head *hw_port_list)
}
/* Make the hardware datapath to/from @dev limited to a common MTU */
-void dsa_bridge_mtu_normalization(struct dsa_port *dp)
+static void dsa_bridge_mtu_normalization(struct dsa_port *dp)
{
struct list_head hw_port_list;
struct dsa_switch_tree *dst;