From: stephen hemminger Date: Thu, 26 Dec 2013 18:09:05 +0000 (-0800) Subject: hhf: make qdisc ops static X-Git-Tag: MMI-PSA29.97-13-9~12877^2~396 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c49fa257ba260410c76ab6e7f66fa1ec2dab3faa;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git hhf: make qdisc ops static This module shouldn't be randomly exporting symbols Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- 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) 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) {