[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:
committed by
David S. Miller
parent
62e3ba1b55
commit
2eb9d75c72
@@ -751,8 +751,7 @@ rtattr_failure:
|
||||
return -1;
|
||||
}
|
||||
|
||||
static struct tcf_proto_ops cls_u32_ops = {
|
||||
.next = NULL,
|
||||
static struct tcf_proto_ops cls_u32_ops __read_mostly = {
|
||||
.kind = "u32",
|
||||
.classify = u32_classify,
|
||||
.init = u32_init,
|
||||
|
Reference in New Issue
Block a user