summaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@mellanox.com>2017-03-16 12:53:41 +0200
committerDavid S. Miller <davem@davemloft.net>2017-03-16 12:02:14 -0700
commit4dba87b07394ebf9fa4693d90f4074bda977449b (patch)
tree34382354e3435d928dec43f46801e59c3148ca82 /net/sched
parent2f771399a3a2c371c140ff33544a583c6fbc5fd9 (diff)
downloadlinux-4dba87b07394ebf9fa4693d90f4074bda977449b.tar.gz
linux-4dba87b07394ebf9fa4693d90f4074bda977449b.tar.bz2
linux-4dba87b07394ebf9fa4693d90f4074bda977449b.zip
net/sched: act_ife: Staticfy find_decode_metaid()
As it's used only on that file. Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
-rw-r--r--net/sched/act_ife.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sched/act_ife.c b/net/sched/act_ife.c
index 71e7ff22f7c9..c75ea5c9102c 100644
--- a/net/sched/act_ife.c
+++ b/net/sched/act_ife.c
@@ -603,8 +603,8 @@ nla_put_failure:
return -1;
}
-int find_decode_metaid(struct sk_buff *skb, struct tcf_ife_info *ife,
- u16 metaid, u16 mlen, void *mdata)
+static int find_decode_metaid(struct sk_buff *skb, struct tcf_ife_info *ife,
+ u16 metaid, u16 mlen, void *mdata)
{
struct tcf_meta_info *e;