summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2013-12-26 10:09:05 -0800
committerDavid S. Miller <davem@davemloft.net>2013-12-26 13:29:35 -0500
commitc49fa257ba260410c76ab6e7f66fa1ec2dab3faa (patch)
treea26b14e97aba5746034b16c4b875dbcd731ed1e0
parentdb34de939ae28954441c18b331c2c0aafec2d6ac (diff)
downloadop-kernel-dev-c49fa257ba260410c76ab6e7f66fa1ec2dab3faa.zip
op-kernel-dev-c49fa257ba260410c76ab6e7f66fa1ec2dab3faa.tar.gz
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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sched/sch_hhf.c b/net/sched/sch_hhf.c
index 97aa33d..cf7f614 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)
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),
@@ -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)
{
OpenPOWER on IntegriCloud