projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[POWERPC] spu sched: simplity spu_remove_from_active_list
[powerpc.git]
/
net
/
sched
/
em_text.c
diff --git
a/net/sched/em_text.c
b/net/sched/em_text.c
index
873840d
..
8ad894b
100644
(file)
--- a/
net/sched/em_text.c
+++ b/
net/sched/em_text.c
@@
-9,7
+9,6
@@
* Authors: Thomas Graf <tgraf@suug.ch>
*/
* Authors: Thomas Graf <tgraf@suug.ch>
*/
-#include <linux/config.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
@@
-55,9
+54,6
@@
static int em_text_change(struct tcf_proto *tp, void *data, int len,
struct ts_config *ts_conf;
int flags = 0;
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;
if (len < sizeof(*conf) || len < (sizeof(*conf) + conf->pattern_len))
return -EINVAL;
@@
-129,7
+125,7
@@
static int em_text_dump(struct sk_buff *skb, struct tcf_ematch *m)
rtattr_failure:
return -1;
rtattr_failure:
return -1;
-}
+}
static struct tcf_ematch_ops em_text_ops = {
.kind = TCF_EM_TEXT,
static struct tcf_ematch_ops em_text_ops = {
.kind = TCF_EM_TEXT,
@@
-146,7
+142,7
@@
static int __init init_em_text(void)
return tcf_em_register(&em_text_ops);
}
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);
}
{
tcf_em_unregister(&em_text_ops);
}