Skip to content

Commit

Permalink
hhf: make qdisc ops static
Browse files Browse the repository at this point in the history
This module shouldn't be randomly exporting symbols

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
stephen hemminger authored and David S. Miller committed Dec 26, 2013
1 parent db34de9 commit c49fa25
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions net/sched/sch_hhf.c
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ static int hhf_dump_stats(struct Qdisc *sch, struct gnet_dump *d)
return gnet_stats_copy_app(d, &st, sizeof(st));
}

struct Qdisc_ops hhf_qdisc_ops __read_mostly = {
static struct Qdisc_ops hhf_qdisc_ops __read_mostly = {
.id = "hhf",
.priv_size = sizeof(struct hhf_sched_data),

Expand All @@ -727,7 +727,6 @@ struct Qdisc_ops hhf_qdisc_ops __read_mostly = {
.dump_stats = hhf_dump_stats,
.owner = THIS_MODULE,
};
EXPORT_SYMBOL(hhf_qdisc_ops);

static int __init hhf_module_init(void)
{
Expand Down

0 comments on commit c49fa25

Please sign in to comment.