summaryrefslogtreecommitdiffstats
path: root/net/sched/cls_fw.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-01-23 07:10:42 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-29 00:11:08 +0100
commit2eb9d75c723252c1fa8f0206e6a0df220e3c64c0 (patch)
tree169eb9fb1170e6bbb60d3b373d133ef3e0aefa63 /net/sched/cls_fw.c
parent[NET_SCHED]: Move EXPORT_SYMBOL next to exported symbol (diff)
downloadlinux-2eb9d75c723252c1fa8f0206e6a0df220e3c64c0.tar.xz
linux-2eb9d75c723252c1fa8f0206e6a0df220e3c64c0.zip
[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_fw.c')
-rw-r--r--net/sched/cls_fw.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sched/cls_fw.c b/net/sched/cls_fw.c
index 8adbd6a37d14..b45038770e79 100644
--- a/net/sched/cls_fw.c
+++ b/net/sched/cls_fw.c
@@ -370,8 +370,7 @@ rtattr_failure:
return -1;
}
-static struct tcf_proto_ops cls_fw_ops = {
- .next = NULL,
+static struct tcf_proto_ops cls_fw_ops __read_mostly = {
.kind = "fw",
.classify = fw_classify,
.init = fw_init,