summaryrefslogtreecommitdiff
path: root/net/sched/sch_plug.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2012-02-13 09:40:45 +0400
committerDavid S. Miller <davem@davemloft.net>2012-02-14 01:04:40 +0400
commit2132cf64371a20f5c427da42f9f9e7e99bc5fb88 (patch)
tree69cf90a2e20290e9d6b1536c4cf5353cda23e887 /net/sched/sch_plug.c
parent19c6c8f58b5840fd4757233b4849f42687d2ef3a (diff)
downloadlinux-2132cf64371a20f5c427da42f9f9e7e99bc5fb88.tar.xz
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/sch_plug.c')
-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 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)
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,