diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2012-02-13 00:40:45 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-13 16:04:40 -0500 |
commit | 2132cf64371a20f5c427da42f9f9e7e99bc5fb88 (patch) | |
tree | 69cf90a2e20290e9d6b1536c4cf5353cda23e887 /net/sched | |
parent | 19c6c8f58b5840fd4757233b4849f42687d2ef3a (diff) |
net_sched: sch_plug: plug_qdisc_ops is static
net/sched/sch_plug.c:211:18: warning: symbol 'plug_qdisc_ops' was not
declared. Should it be static?
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
-rw-r--r-- | net/sched/sch_plug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_plug.c b/net/sched/sch_plug.c index ba7b737e4055..89f8fcf73f18 100644 --- a/net/sched/sch_plug.c +++ b/net/sched/sch_plug.c | |||
@@ -208,7 +208,7 @@ static int plug_change(struct Qdisc *sch, struct nlattr *opt) | |||
208 | return 0; | 208 | return 0; |
209 | } | 209 | } |
210 | 210 | ||
211 | struct Qdisc_ops plug_qdisc_ops = { | 211 | static struct Qdisc_ops plug_qdisc_ops __read_mostly = { |
212 | .id = "plug", | 212 | .id = "plug", |
213 | .priv_size = sizeof(struct plug_sched_data), | 213 | .priv_size = sizeof(struct plug_sched_data), |
214 | .enqueue = plug_enqueue, | 214 | .enqueue = plug_enqueue, |