[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>
This commit is contained in:
Patrick McHardy
2008-01-22 22:10:42 -08:00
committed by David S. Miller
szülő 62e3ba1b55
commit 2eb9d75c72
6 fájl változott, egészen pontosan 6 új sor hozzáadva és 10 régi sor törölve

Fájl megtekintése

@@ -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,