diff options
author | Jiri Pirko <jiri@resnulli.us> | 2014-12-04 21:41:18 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-09 14:49:02 -0500 |
commit | 57d743a3dec174b8f1fbf53e93ade2fea3d32bd7 (patch) | |
tree | bbed00c734c48eed21e60a5100ff117406433571 /net/sched/cls_rsvp.h | |
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_rsvp.h')
-rw-r--r-- | net/sched/cls_rsvp.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/net/sched/cls_rsvp.h b/net/sched/cls_rsvp.h index 6bb55f277a5..b7af3623a26 100644 --- a/net/sched/cls_rsvp.h +++ b/net/sched/cls_rsvp.h @@ -271,10 +271,6 @@ static unsigned long rsvp_get(struct tcf_proto *tp, u32 handle) return 0; } -static void rsvp_put(struct tcf_proto *tp, unsigned long f) -{ -} - static int rsvp_init(struct tcf_proto *tp) { struct rsvp_head *data; @@ -708,7 +704,6 @@ static struct tcf_proto_ops RSVP_OPS __read_mostly = { .init = rsvp_init, .destroy = rsvp_destroy, .get = rsvp_get, - .put = rsvp_put, .change = rsvp_change, .delete = rsvp_delete, .walk = rsvp_walk, |