X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=net%2Fsched%2Fem_text.c;h=e8f46169449d8c5985cba6baed0096aa1610b2ab;hb=0108d3fe3c44f01de224f39347b95f6a94181687;hp=873840d8d0727f8da965498439a30619093e197a;hpb=d675c989ed2d4ba23dff615330b04371aea83534;p=safe%2Fjmp%2Flinux-2.6 diff --git a/net/sched/em_text.c b/net/sched/em_text.c index 873840d..e8f4616 100644 --- a/net/sched/em_text.c +++ b/net/sched/em_text.c @@ -9,11 +9,9 @@ * Authors: Thomas Graf */ -#include #include #include #include -#include #include #include #include @@ -55,9 +53,6 @@ static int em_text_change(struct tcf_proto *tp, void *data, int len, struct ts_config *ts_conf; int flags = 0; - printk("Configuring text: %s from %d:%d to %d:%d len %d\n", conf->algo, conf->from_offset, - conf->from_layer, conf->to_offset, conf->to_layer, conf->pattern_len); - if (len < sizeof(*conf) || len < (sizeof(*conf) + conf->pattern_len)) return -EINVAL; @@ -129,7 +124,7 @@ static int em_text_dump(struct sk_buff *skb, struct tcf_ematch *m) rtattr_failure: return -1; -} +} static struct tcf_ematch_ops em_text_ops = { .kind = TCF_EM_TEXT, @@ -146,7 +141,7 @@ static int __init init_em_text(void) return tcf_em_register(&em_text_ops); } -static void __exit exit_em_text(void) +static void __exit exit_em_text(void) { tcf_em_unregister(&em_text_ops); }