hhf: make qdisc ops static
Subsystems (3)
PATCH 1/1 hhf: make qdisc ops static
This module shouldn't be randomly exporting symbols
Signed-off-by Stephen Hemminger <[email protected]>
--- net/sched/sch_hhf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
net/sched/sch_hhf.c +1 -2
@@ -711,7 +711,7 @@ static int hhf_dump_stats(struct Qdisc *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_mo .dump_stats = hhf_dump_stats, .owner = THIS_MODULE, }; -EXPORT_SYMBOL (hhf_qdisc_ops);static int __init hhf_module_init (void ) {
From: Stephen Hemminger <[email protected]>
Date: Thu, 26 Dec 2013 10:09:05 -0800
Quoted 3 lines
This module shouldn't be randomly exporting symbols
Signed-off-by Stephen Hemminger <[email protected]>
Applied.