Commit 2132cf64 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller

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: default avatarEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 19c6c8f5
...@@ -208,7 +208,7 @@ static int plug_change(struct Qdisc *sch, struct nlattr *opt) ...@@ -208,7 +208,7 @@ static int plug_change(struct Qdisc *sch, struct nlattr *opt)
return 0; return 0;
} }
struct Qdisc_ops plug_qdisc_ops = { static struct Qdisc_ops plug_qdisc_ops __read_mostly = {
.id = "plug", .id = "plug",
.priv_size = sizeof(struct plug_sched_data), .priv_size = sizeof(struct plug_sched_data),
.enqueue = plug_enqueue, .enqueue = plug_enqueue,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment