net: dsa: dsa_bridge_mtu_normalization() can be static
authorkbuild test robot <lkp@intel.com>
Thu, 2 Apr 2020 01:25:48 +0000 (09:25 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Apr 2020 13:51:56 +0000 (06:51 -0700)
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>
net/dsa/slave.c

index 5390ff541658bd4c6dffc5f2f25bfd2e5ed7e761..e94eb1aac6029e41b65bd2c1ceb044992aec3a4a 100644 (file)
@@ -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;