aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/cls_route.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2014-12-04 15:41:18 -0500
committerDavid S. Miller <davem@davemloft.net>2014-12-09 14:49:02 -0500
commit57d743a3dec174b8f1fbf53e93ade2fea3d32bd7 (patch)
treebbed00c734c48eed21e60a5100ff117406433571 /net/sched/cls_route.c
parent02dc4025a088ea7ff53fcb35ba9e0f295078a4a0 (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_route.c')
-rw-r--r--net/sched/cls_route.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/sched/cls_route.c b/net/sched/cls_route.c
index 109a329b7198..098a27360b91 100644
--- a/net/sched/cls_route.c
+++ b/net/sched/cls_route.c
@@ -256,10 +256,6 @@ static unsigned long route4_get(struct tcf_proto *tp, u32 handle)
256 return 0; 256 return 0;
257} 257}
258 258
259static void route4_put(struct tcf_proto *tp, unsigned long f)
260{
261}
262
263static int route4_init(struct tcf_proto *tp) 259static int route4_init(struct tcf_proto *tp)
264{ 260{
265 return 0; 261 return 0;
@@ -649,7 +645,6 @@ static struct tcf_proto_ops cls_route4_ops __read_mostly = {
649 .init = route4_init, 645 .init = route4_init,
650 .destroy = route4_destroy, 646 .destroy = route4_destroy,
651 .get = route4_get, 647 .get = route4_get,
652 .put = route4_put,
653 .change = route4_change, 648 .change = route4_change,
654 .delete = route4_delete, 649 .delete = route4_delete,
655 .walk = route4_walk, 650 .walk = route4_walk,