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_u32.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_u32.c')
-rw-r--r-- | net/sched/cls_u32.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/net/sched/cls_u32.c b/net/sched/cls_u32.c index 0472909bb014..09487afbfd51 100644 --- a/net/sched/cls_u32.c +++ b/net/sched/cls_u32.c | |||
@@ -299,10 +299,6 @@ static unsigned long u32_get(struct tcf_proto *tp, u32 handle) | |||
299 | return (unsigned long)u32_lookup_key(ht, handle); | 299 | return (unsigned long)u32_lookup_key(ht, handle); |
300 | } | 300 | } |
301 | 301 | ||
302 | static void u32_put(struct tcf_proto *tp, unsigned long f) | ||
303 | { | ||
304 | } | ||
305 | |||
306 | static u32 gen_new_htid(struct tc_u_common *tp_c) | 302 | static u32 gen_new_htid(struct tc_u_common *tp_c) |
307 | { | 303 | { |
308 | int i = 0x800; | 304 | int i = 0x800; |
@@ -1021,7 +1017,6 @@ static struct tcf_proto_ops cls_u32_ops __read_mostly = { | |||
1021 | .init = u32_init, | 1017 | .init = u32_init, |
1022 | .destroy = u32_destroy, | 1018 | .destroy = u32_destroy, |
1023 | .get = u32_get, | 1019 | .get = u32_get, |
1024 | .put = u32_put, | ||
1025 | .change = u32_change, | 1020 | .change = u32_change, |
1026 | .delete = u32_delete, | 1021 | .delete = u32_delete, |
1027 | .walk = u32_walk, | 1022 | .walk = u32_walk, |