Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Eric Dumazet and committed by
David S. Miller
2132cf64 19c6c8f5

+1 -1
+1 -1
net/sched/sch_plug.c
··· 208 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 212 .id = "plug", 213 213 .priv_size = sizeof(struct plug_sched_data), 214 214 .enqueue = plug_enqueue,