diff mbox series

[RFC] net: dsa: dsa_bridge_mtu_normalization() can be static

Message ID 20200402012548.GG8179@shao2-debian
State New
Headers show
Series [RFC] net: dsa: dsa_bridge_mtu_normalization() can be static | expand

Commit Message

kernel test robot April 2, 2020, 1:25 a.m. UTC
Fixes: f41071407c85 ("net: dsa: implement auto-normalization of MTU for bridge hardware datapath")
Signed-off-by: kbuild test robot <lkp@intel.com>
---
 slave.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/net/dsa/slave.c b/net/dsa/slave.c
index 8ced165a79084..624f54750dbb3 100644
--- a/net/dsa/slave.c
+++ b/net/dsa/slave.c
@@ -1261,7 +1261,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;