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 /include | |
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 'include')
-rw-r--r-- | include/net/act_api.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/act_api.h b/include/net/act_api.h index e171387512b3..8ed974665640 100644 --- a/include/net/act_api.h +++ b/include/net/act_api.h | |||
@@ -81,13 +81,11 @@ struct tc_action { | |||
81 | struct list_head list; | 81 | struct list_head list; |
82 | }; | 82 | }; |
83 | 83 | ||
84 | #define TCA_CAP_NONE 0 | ||
85 | struct tc_action_ops { | 84 | struct tc_action_ops { |
86 | struct list_head head; | 85 | struct list_head head; |
87 | struct tcf_hashinfo *hinfo; | 86 | struct tcf_hashinfo *hinfo; |
88 | char kind[IFNAMSIZ]; | 87 | char kind[IFNAMSIZ]; |
89 | __u32 type; /* TBD to match kind */ | 88 | __u32 type; /* TBD to match kind */ |
90 | __u32 capab; /* capabilities includes 4 bit version */ | ||
91 | struct module *owner; | 89 | struct module *owner; |
92 | int (*act)(struct sk_buff *, const struct tc_action *, struct tcf_result *); | 90 | int (*act)(struct sk_buff *, const struct tc_action *, struct tcf_result *); |
93 | int (*dump)(struct sk_buff *, struct tc_action *, int, int); | 91 | int (*dump)(struct sk_buff *, struct tc_action *, int, int); |