aboutsummaryrefslogtreecommitdiff
path: root/net/sched
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2012-02-13 05:40:45 +0000
committerDavid S. Miller <davem@davemloft.net>2012-02-13 16:04:40 -0500
commit2132cf64371a20f5c427da42f9f9e7e99bc5fb88 (patch)
tree69cf90a2e20290e9d6b1536c4cf5353cda23e887 /net/sched
parent19c6c8f58b5840fd4757233b4849f42687d2ef3a (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_plug.c b/net/sched/sch_plug.c
index ba7b737e405..89f8fcf73f1 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)
return 0;
}
-struct Qdisc_ops plug_qdisc_ops = {
+static struct Qdisc_ops plug_qdisc_ops __read_mostly = {
.id = "plug",
.priv_size = sizeof(struct plug_sched_data),
.enqueue = plug_enqueue,