aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/cls_fw.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_fw.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_fw.c')
-rw-r--r--net/sched/cls_fw.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/sched/cls_fw.c b/net/sched/cls_fw.c
index dbfdfd1f1a9f..23fda2ac0d19 100644
--- a/net/sched/cls_fw.c
+++ b/net/sched/cls_fw.c
@@ -111,10 +111,6 @@ static unsigned long fw_get(struct tcf_proto *tp, u32 handle)
111 return 0; 111 return 0;
112} 112}
113 113
114static void fw_put(struct tcf_proto *tp, unsigned long f)
115{
116}
117
118static int fw_init(struct tcf_proto *tp) 114static int fw_init(struct tcf_proto *tp)
119{ 115{
120 return 0; 116 return 0;
@@ -411,7 +407,6 @@ static struct tcf_proto_ops cls_fw_ops __read_mostly = {
411 .init = fw_init, 407 .init = fw_init,
412 .destroy = fw_destroy, 408 .destroy = fw_destroy,
413 .get = fw_get, 409 .get = fw_get,
414 .put = fw_put,
415 .change = fw_change, 410 .change = fw_change,
416 .delete = fw_delete, 411 .delete = fw_delete,
417 .walk = fw_walk, 412 .walk = fw_walk,