diff options
author | Patrick McHardy <kaber@trash.net> | 2008-01-23 09:10:42 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-29 02:11:08 +0300 |
commit | 2eb9d75c723252c1fa8f0206e6a0df220e3c64c0 (patch) | |
tree | 169eb9fb1170e6bbb60d3b373d133ef3e0aefa63 /net/sched/cls_route.c | |
parent | 62e3ba1b558e5f393ef746880613fb8222e64d03 (diff) | |
download | linux-2eb9d75c723252c1fa8f0206e6a0df220e3c64c0.tar.xz |
[NET_SCHED]: mark classifier ops __read_mostly
Additionally remove unnecessary NULL initilizations of the next pointer.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_route.c')
-rw-r--r-- | net/sched/cls_route.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sched/cls_route.c b/net/sched/cls_route.c index 0a8409c1d28a..e70edd0f7bc8 100644 --- a/net/sched/cls_route.c +++ b/net/sched/cls_route.c @@ -590,8 +590,7 @@ rtattr_failure: return -1; } -static struct tcf_proto_ops cls_route4_ops = { - .next = NULL, +static struct tcf_proto_ops cls_route4_ops __read_mostly = { .kind = "route", .classify = route4_classify, .init = route4_init, |