diff options
author | Jiri Pirko <jiri@resnulli.us> | 2014-12-04 15:41:18 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-09 14:49:02 -0500 |
commit | 57d743a3dec174b8f1fbf53e93ade2fea3d32bd7 (patch) | |
tree | bbed00c734c48eed21e60a5100ff117406433571 /net/sched/cls_flow.c | |
parent | 02dc4025a088ea7ff53fcb35ba9e0f295078a4a0 (diff) |
net: sched: cls: remove unused op put from tcf_proto_ops
It is never called and implementations are void. So just remove it.
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_flow.c')
-rw-r--r-- | net/sched/cls_flow.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/net/sched/cls_flow.c b/net/sched/cls_flow.c index 819c23078812..8e227180cabb 100644 --- a/net/sched/cls_flow.c +++ b/net/sched/cls_flow.c | |||
@@ -581,10 +581,6 @@ static unsigned long flow_get(struct tcf_proto *tp, u32 handle) | |||
581 | return 0; | 581 | return 0; |
582 | } | 582 | } |
583 | 583 | ||
584 | static void flow_put(struct tcf_proto *tp, unsigned long f) | ||
585 | { | ||
586 | } | ||
587 | |||
588 | static int flow_dump(struct net *net, struct tcf_proto *tp, unsigned long fh, | 584 | static int flow_dump(struct net *net, struct tcf_proto *tp, unsigned long fh, |
589 | struct sk_buff *skb, struct tcmsg *t) | 585 | struct sk_buff *skb, struct tcmsg *t) |
590 | { | 586 | { |
@@ -671,7 +667,6 @@ static struct tcf_proto_ops cls_flow_ops __read_mostly = { | |||
671 | .change = flow_change, | 667 | .change = flow_change, |
672 | .delete = flow_delete, | 668 | .delete = flow_delete, |
673 | .get = flow_get, | 669 | .get = flow_get, |
674 | .put = flow_put, | ||
675 | .dump = flow_dump, | 670 | .dump = flow_dump, |
676 | .walk = flow_walk, | 671 | .walk = flow_walk, |
677 | .owner = THIS_MODULE, | 672 | .owner = THIS_MODULE, |