mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
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>
This commit is contained in:
parent
19c6c8f58b
commit
2132cf6437
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user