aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/cls_u32.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-01-23 01:10:42 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:11:08 -0500
commit2eb9d75c723252c1fa8f0206e6a0df220e3c64c0 (patch)
tree169eb9fb1170e6bbb60d3b373d133ef3e0aefa63 /net/sched/cls_u32.c
parent62e3ba1b558e5f393ef746880613fb8222e64d03 (diff)
[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_u32.c')
-rw-r--r--net/sched/cls_u32.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sched/cls_u32.c b/net/sched/cls_u32.c
index c39008209164..7bf3cd4e7318 100644
--- a/net/sched/cls_u32.c
+++ b/net/sched/cls_u32.c
@@ -751,8 +751,7 @@ rtattr_failure:
751 return -1; 751 return -1;
752} 752}
753 753
754static struct tcf_proto_ops cls_u32_ops = { 754static struct tcf_proto_ops cls_u32_ops __read_mostly = {
755 .next = NULL,
756 .kind = "u32", 755 .kind = "u32",
757 .classify = u32_classify, 756 .classify = u32_classify,
758 .init = u32_init, 757 .init = u32_init,