net: mvpp2: mvpp2_cls_flow_get() can be static
authorkbuild test robot <fengguang.wu@intel.com>
Sat, 14 Jul 2018 01:27:35 +0000 (09:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Jul 2018 03:21:56 +0000 (20:21 -0700)
Fixes: f9358e12a0af ("net: mvpp2: split ingress traffic into multiple flows")
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c

index dc7dfa9a66062fb0130ad70f5e451260b2746b4b..723d0ba6f78d352ba4236000fa9eb1ee732f84bd 100644 (file)
@@ -557,7 +557,7 @@ static int mvpp2_flow_set_hek_fields(struct mvpp2_cls_flow_entry *fe,
        return 0;
 }
 
-struct mvpp2_cls_flow *mvpp2_cls_flow_get(int flow)
+static struct mvpp2_cls_flow *mvpp2_cls_flow_get(int flow)
 {
        if (flow >= MVPP2_N_FLOWS)
                return NULL;