Skip to content

Commit

Permalink
net_sched: sch_plug: plug_qdisc_ops is static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Feb 13, 2012
1 parent 19c6c8f commit 2132cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/sched/sch_plug.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2132cf6

Please sign in to comment.