diff options
| author | stephen hemminger <stephen@networkplumber.org> | 2013-12-26 13:09:05 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2013-12-26 13:29:35 -0500 |
| commit | c49fa257ba260410c76ab6e7f66fa1ec2dab3faa (patch) | |
| tree | a26b14e97aba5746034b16c4b875dbcd731ed1e0 | |
| parent | db34de939ae28954441c18b331c2c0aafec2d6ac (diff) | |
hhf: make qdisc ops static
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>
| -rw-r--r-- | net/sched/sch_hhf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sched/sch_hhf.c b/net/sched/sch_hhf.c index 97aa33dbb90f..cf7f614e841b 100644 --- a/net/sched/sch_hhf.c +++ b/net/sched/sch_hhf.c | |||
| @@ -711,7 +711,7 @@ static int hhf_dump_stats(struct Qdisc *sch, struct gnet_dump *d) | |||
| 711 | return gnet_stats_copy_app(d, &st, sizeof(st)); | 711 | return gnet_stats_copy_app(d, &st, sizeof(st)); |
| 712 | } | 712 | } |
| 713 | 713 | ||
| 714 | struct Qdisc_ops hhf_qdisc_ops __read_mostly = { | 714 | static struct Qdisc_ops hhf_qdisc_ops __read_mostly = { |
| 715 | .id = "hhf", | 715 | .id = "hhf", |
| 716 | .priv_size = sizeof(struct hhf_sched_data), | 716 | .priv_size = sizeof(struct hhf_sched_data), |
| 717 | 717 | ||
| @@ -727,7 +727,6 @@ struct Qdisc_ops hhf_qdisc_ops __read_mostly = { | |||
| 727 | .dump_stats = hhf_dump_stats, | 727 | .dump_stats = hhf_dump_stats, |
| 728 | .owner = THIS_MODULE, | 728 | .owner = THIS_MODULE, |
| 729 | }; | 729 | }; |
| 730 | EXPORT_SYMBOL(hhf_qdisc_ops); | ||
| 731 | 730 | ||
| 732 | static int __init hhf_module_init(void) | 731 | static int __init hhf_module_init(void) |
| 733 | { | 732 | { |
