diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2014-01-15 18:49:30 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-19 22:58:07 -0500 |
commit | 671314a5abb7abb8346cd3f16f75c1e55ed7667b (patch) | |
tree | 7f684415739016dc45149e2b6f5bd8e2e1ed4689 /net | |
parent | 9d08dd3d320fab4e8b491eb34ebbb5476d2266cf (diff) |
net_sched: act: remove capab from struct tc_action_ops
It is not actually implemented.
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/sched/act_csum.c | 1 | ||||
-rw-r--r-- | net/sched/act_gact.c | 1 | ||||
-rw-r--r-- | net/sched/act_ipt.c | 2 | ||||
-rw-r--r-- | net/sched/act_mirred.c | 1 | ||||
-rw-r--r-- | net/sched/act_nat.c | 1 | ||||
-rw-r--r-- | net/sched/act_pedit.c | 1 | ||||
-rw-r--r-- | net/sched/act_police.c | 1 | ||||
-rw-r--r-- | net/sched/act_simple.c | 1 | ||||
-rw-r--r-- | net/sched/act_skbedit.c | 1 |
9 files changed, 0 insertions, 10 deletions
diff --git a/net/sched/act_csum.c b/net/sched/act_csum.c index ee28e1ccbbd5..9d5c1d343fe2 100644 --- a/net/sched/act_csum.c +++ b/net/sched/act_csum.c | |||
@@ -572,7 +572,6 @@ static struct tc_action_ops act_csum_ops = { | |||
572 | .kind = "csum", | 572 | .kind = "csum", |
573 | .hinfo = &csum_hash_info, | 573 | .hinfo = &csum_hash_info, |
574 | .type = TCA_ACT_CSUM, | 574 | .type = TCA_ACT_CSUM, |
575 | .capab = TCA_CAP_NONE, | ||
576 | .owner = THIS_MODULE, | 575 | .owner = THIS_MODULE, |
577 | .act = tcf_csum, | 576 | .act = tcf_csum, |
578 | .dump = tcf_csum_dump, | 577 | .dump = tcf_csum_dump, |
diff --git a/net/sched/act_gact.c b/net/sched/act_gact.c index 31333073cd80..72c49de50616 100644 --- a/net/sched/act_gact.c +++ b/net/sched/act_gact.c | |||
@@ -194,7 +194,6 @@ static struct tc_action_ops act_gact_ops = { | |||
194 | .kind = "gact", | 194 | .kind = "gact", |
195 | .hinfo = &gact_hash_info, | 195 | .hinfo = &gact_hash_info, |
196 | .type = TCA_ACT_GACT, | 196 | .type = TCA_ACT_GACT, |
197 | .capab = TCA_CAP_NONE, | ||
198 | .owner = THIS_MODULE, | 197 | .owner = THIS_MODULE, |
199 | .act = tcf_gact, | 198 | .act = tcf_gact, |
200 | .dump = tcf_gact_dump, | 199 | .dump = tcf_gact_dump, |
diff --git a/net/sched/act_ipt.c b/net/sched/act_ipt.c index bc9f498f6fef..67d701e0a2bd 100644 --- a/net/sched/act_ipt.c +++ b/net/sched/act_ipt.c | |||
@@ -287,7 +287,6 @@ static struct tc_action_ops act_ipt_ops = { | |||
287 | .kind = "ipt", | 287 | .kind = "ipt", |
288 | .hinfo = &ipt_hash_info, | 288 | .hinfo = &ipt_hash_info, |
289 | .type = TCA_ACT_IPT, | 289 | .type = TCA_ACT_IPT, |
290 | .capab = TCA_CAP_NONE, | ||
291 | .owner = THIS_MODULE, | 290 | .owner = THIS_MODULE, |
292 | .act = tcf_ipt, | 291 | .act = tcf_ipt, |
293 | .dump = tcf_ipt_dump, | 292 | .dump = tcf_ipt_dump, |
@@ -299,7 +298,6 @@ static struct tc_action_ops act_xt_ops = { | |||
299 | .kind = "xt", | 298 | .kind = "xt", |
300 | .hinfo = &ipt_hash_info, | 299 | .hinfo = &ipt_hash_info, |
301 | .type = TCA_ACT_XT, | 300 | .type = TCA_ACT_XT, |
302 | .capab = TCA_CAP_NONE, | ||
303 | .owner = THIS_MODULE, | 301 | .owner = THIS_MODULE, |
304 | .act = tcf_ipt, | 302 | .act = tcf_ipt, |
305 | .dump = tcf_ipt_dump, | 303 | .dump = tcf_ipt_dump, |
diff --git a/net/sched/act_mirred.c b/net/sched/act_mirred.c index 5d05b573a622..376234ee8514 100644 --- a/net/sched/act_mirred.c +++ b/net/sched/act_mirred.c | |||
@@ -257,7 +257,6 @@ static struct tc_action_ops act_mirred_ops = { | |||
257 | .kind = "mirred", | 257 | .kind = "mirred", |
258 | .hinfo = &mirred_hash_info, | 258 | .hinfo = &mirred_hash_info, |
259 | .type = TCA_ACT_MIRRED, | 259 | .type = TCA_ACT_MIRRED, |
260 | .capab = TCA_CAP_NONE, | ||
261 | .owner = THIS_MODULE, | 260 | .owner = THIS_MODULE, |
262 | .act = tcf_mirred, | 261 | .act = tcf_mirred, |
263 | .dump = tcf_mirred_dump, | 262 | .dump = tcf_mirred_dump, |
diff --git a/net/sched/act_nat.c b/net/sched/act_nat.c index a49fa23b49dd..46e1aa36b147 100644 --- a/net/sched/act_nat.c +++ b/net/sched/act_nat.c | |||
@@ -296,7 +296,6 @@ static struct tc_action_ops act_nat_ops = { | |||
296 | .kind = "nat", | 296 | .kind = "nat", |
297 | .hinfo = &nat_hash_info, | 297 | .hinfo = &nat_hash_info, |
298 | .type = TCA_ACT_NAT, | 298 | .type = TCA_ACT_NAT, |
299 | .capab = TCA_CAP_NONE, | ||
300 | .owner = THIS_MODULE, | 299 | .owner = THIS_MODULE, |
301 | .act = tcf_nat, | 300 | .act = tcf_nat, |
302 | .dump = tcf_nat_dump, | 301 | .dump = tcf_nat_dump, |
diff --git a/net/sched/act_pedit.c b/net/sched/act_pedit.c index f361e4e3c314..109265d7c14b 100644 --- a/net/sched/act_pedit.c +++ b/net/sched/act_pedit.c | |||
@@ -233,7 +233,6 @@ static struct tc_action_ops act_pedit_ops = { | |||
233 | .kind = "pedit", | 233 | .kind = "pedit", |
234 | .hinfo = &pedit_hash_info, | 234 | .hinfo = &pedit_hash_info, |
235 | .type = TCA_ACT_PEDIT, | 235 | .type = TCA_ACT_PEDIT, |
236 | .capab = TCA_CAP_NONE, | ||
237 | .owner = THIS_MODULE, | 236 | .owner = THIS_MODULE, |
238 | .act = tcf_pedit, | 237 | .act = tcf_pedit, |
239 | .dump = tcf_pedit_dump, | 238 | .dump = tcf_pedit_dump, |
diff --git a/net/sched/act_police.c b/net/sched/act_police.c index 5ba467b6124a..85437ba5c64b 100644 --- a/net/sched/act_police.c +++ b/net/sched/act_police.c | |||
@@ -361,7 +361,6 @@ static struct tc_action_ops act_police_ops = { | |||
361 | .kind = "police", | 361 | .kind = "police", |
362 | .hinfo = &police_hash_info, | 362 | .hinfo = &police_hash_info, |
363 | .type = TCA_ID_POLICE, | 363 | .type = TCA_ID_POLICE, |
364 | .capab = TCA_CAP_NONE, | ||
365 | .owner = THIS_MODULE, | 364 | .owner = THIS_MODULE, |
366 | .act = tcf_act_police, | 365 | .act = tcf_act_police, |
367 | .dump = tcf_act_police_dump, | 366 | .dump = tcf_act_police_dump, |
diff --git a/net/sched/act_simple.c b/net/sched/act_simple.c index f7d5406c1fe2..92236daaac8d 100644 --- a/net/sched/act_simple.c +++ b/net/sched/act_simple.c | |||
@@ -190,7 +190,6 @@ static struct tc_action_ops act_simp_ops = { | |||
190 | .kind = "simple", | 190 | .kind = "simple", |
191 | .hinfo = &simp_hash_info, | 191 | .hinfo = &simp_hash_info, |
192 | .type = TCA_ACT_SIMP, | 192 | .type = TCA_ACT_SIMP, |
193 | .capab = TCA_CAP_NONE, | ||
194 | .owner = THIS_MODULE, | 193 | .owner = THIS_MODULE, |
195 | .act = tcf_simp, | 194 | .act = tcf_simp, |
196 | .dump = tcf_simp_dump, | 195 | .dump = tcf_simp_dump, |
diff --git a/net/sched/act_skbedit.c b/net/sched/act_skbedit.c index 74af46127060..c36b5209bc15 100644 --- a/net/sched/act_skbedit.c +++ b/net/sched/act_skbedit.c | |||
@@ -189,7 +189,6 @@ static struct tc_action_ops act_skbedit_ops = { | |||
189 | .kind = "skbedit", | 189 | .kind = "skbedit", |
190 | .hinfo = &skbedit_hash_info, | 190 | .hinfo = &skbedit_hash_info, |
191 | .type = TCA_ACT_SKBEDIT, | 191 | .type = TCA_ACT_SKBEDIT, |
192 | .capab = TCA_CAP_NONE, | ||
193 | .owner = THIS_MODULE, | 192 | .owner = THIS_MODULE, |
194 | .act = tcf_skbedit, | 193 | .act = tcf_skbedit, |
195 | .dump = tcf_skbedit_dump, | 194 | .dump = tcf_skbedit_dump, |