mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
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:
parent
02dc4025a0
commit
57d743a3de
10 changed files with 0 additions and 49 deletions
|
@ -581,10 +581,6 @@ static unsigned long flow_get(struct tcf_proto *tp, u32 handle)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static void flow_put(struct tcf_proto *tp, unsigned long f)
|
||||
{
|
||||
}
|
||||
|
||||
static int flow_dump(struct net *net, struct tcf_proto *tp, unsigned long fh,
|
||||
struct sk_buff *skb, struct tcmsg *t)
|
||||
{
|
||||
|
@ -671,7 +667,6 @@ static struct tcf_proto_ops cls_flow_ops __read_mostly = {
|
|||
.change = flow_change,
|
||||
.delete = flow_delete,
|
||||
.get = flow_get,
|
||||
.put = flow_put,
|
||||
.dump = flow_dump,
|
||||
.walk = flow_walk,
|
||||
.owner = THIS_MODULE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue