diff options
author | Patrick McHardy <kaber@trash.net> | 2008-01-23 01:10:42 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:11:08 -0500 |
commit | 2eb9d75c723252c1fa8f0206e6a0df220e3c64c0 (patch) | |
tree | 169eb9fb1170e6bbb60d3b373d133ef3e0aefa63 /net/sched/cls_api.c | |
parent | 62e3ba1b558e5f393ef746880613fb8222e64d03 (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_api.c')
-rw-r--r-- | net/sched/cls_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c index e53773612bc7..9eeb3c6c82f4 100644 --- a/net/sched/cls_api.c +++ b/net/sched/cls_api.c | |||
@@ -31,7 +31,7 @@ | |||
31 | 31 | ||
32 | /* The list of all installed classifier types */ | 32 | /* The list of all installed classifier types */ |
33 | 33 | ||
34 | static struct tcf_proto_ops *tcf_proto_base; | 34 | static struct tcf_proto_ops *tcf_proto_base __read_mostly; |
35 | 35 | ||
36 | /* Protects list of registered TC modules. It is pure SMP lock. */ | 36 | /* Protects list of registered TC modules. It is pure SMP lock. */ |
37 | static DEFINE_RWLOCK(cls_mod_lock); | 37 | static DEFINE_RWLOCK(cls_mod_lock); |