summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorkbuild test robot <lkp@intel.com>2020-04-02 04:25:48 +0300
committerDavid S. Miller <davem@davemloft.net>2020-04-02 16:51:56 +0300
commitbf88dc327de8c311078da557788af5d88b74c8e5 (patch)
tree1179264d99bb3ac5a2a3735ba8a6d6a3ebae5a05 /net
parent86287543715ac2a6d92d561cc105d79306511457 (diff)
downloadlinux-bf88dc327de8c311078da557788af5d88b74c8e5.tar.xz
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;