diff options
| author | Patrick McHardy <[email protected]> | 2008-01-23 06:10:42 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2008-01-28 23:11:08 +0000 |
| commit | 2eb9d75c723252c1fa8f0206e6a0df220e3c64c0 (patch) | |
| tree | 169eb9fb1170e6bbb60d3b373d133ef3e0aefa63 /net/sched/cls_basic.c | |
| parent | [NET_SCHED]: Move EXPORT_SYMBOL next to exported symbol (diff) | |
| download | kernel-2eb9d75c723252c1fa8f0206e6a0df220e3c64c0.tar.gz kernel-2eb9d75c723252c1fa8f0206e6a0df220e3c64c0.zip | |
[NET_SCHED]: mark classifier ops __read_mostly
Additionally remove unnecessary NULL initilizations of the next pointer.
Signed-off-by: Patrick McHardy <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/sched/cls_basic.c')
| -rw-r--r-- | net/sched/cls_basic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/cls_basic.c b/net/sched/cls_basic.c index 8dbcf2771a46..b31f9f971987 100644 --- a/net/sched/cls_basic.c +++ b/net/sched/cls_basic.c @@ -271,7 +271,7 @@ rtattr_failure: return -1; } -static struct tcf_proto_ops cls_basic_ops = { +static struct tcf_proto_ops cls_basic_ops __read_mostly = { .kind = "basic", .classify = basic_classify, .init = basic_init, |
