diff options
Diffstat (limited to 'net/sched/cls_basic.c')
-rw-r--r-- | net/sched/cls_basic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sched/cls_basic.c b/net/sched/cls_basic.c index 09fda68c8b39..ea13c2c5b061 100644 --- a/net/sched/cls_basic.c +++ b/net/sched/cls_basic.c | |||
@@ -98,7 +98,7 @@ static void basic_destroy(struct tcf_proto *tp) | |||
98 | { | 98 | { |
99 | struct basic_head *head = (struct basic_head *) xchg(&tp->root, NULL); | 99 | struct basic_head *head = (struct basic_head *) xchg(&tp->root, NULL); |
100 | struct basic_filter *f, *n; | 100 | struct basic_filter *f, *n; |
101 | 101 | ||
102 | list_for_each_entry_safe(f, n, &head->flist, link) { | 102 | list_for_each_entry_safe(f, n, &head->flist, link) { |
103 | list_del(&f->link); | 103 | list_del(&f->link); |
104 | basic_delete_filter(tp, f); | 104 | basic_delete_filter(tp, f); |
@@ -157,7 +157,7 @@ errout: | |||
157 | } | 157 | } |
158 | 158 | ||
159 | static int basic_change(struct tcf_proto *tp, unsigned long base, u32 handle, | 159 | static int basic_change(struct tcf_proto *tp, unsigned long base, u32 handle, |
160 | struct rtattr **tca, unsigned long *arg) | 160 | struct rtattr **tca, unsigned long *arg) |
161 | { | 161 | { |
162 | int err = -EINVAL; | 162 | int err = -EINVAL; |
163 | struct basic_head *head = (struct basic_head *) tp->root; | 163 | struct basic_head *head = (struct basic_head *) tp->root; |
@@ -292,7 +292,7 @@ static int __init init_basic(void) | |||
292 | return register_tcf_proto_ops(&cls_basic_ops); | 292 | return register_tcf_proto_ops(&cls_basic_ops); |
293 | } | 293 | } |
294 | 294 | ||
295 | static void __exit exit_basic(void) | 295 | static void __exit exit_basic(void) |
296 | { | 296 | { |
297 | unregister_tcf_proto_ops(&cls_basic_ops); | 297 | unregister_tcf_proto_ops(&cls_basic_ops); |
298 | } | 298 | } |