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>
This commit is contained in:

committed by
David S. Miller

parent
02dc4025a0
commit
57d743a3de
@@ -256,10 +256,6 @@ static unsigned long route4_get(struct tcf_proto *tp, u32 handle)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void route4_put(struct tcf_proto *tp, unsigned long f)
|
||||
{
|
||||
}
|
||||
|
||||
static int route4_init(struct tcf_proto *tp)
|
||||
{
|
||||
return 0;
|
||||
@@ -649,7 +645,6 @@ static struct tcf_proto_ops cls_route4_ops __read_mostly = {
|
||||
.init = route4_init,
|
||||
.destroy = route4_destroy,
|
||||
.get = route4_get,
|
||||
.put = route4_put,
|
||||
.change = route4_change,
|
||||
.delete = route4_delete,
|
||||
.walk = route4_walk,
|
||||
|
Reference in New Issue
Block a user