hhf: make qdisc ops static
authorstephen hemminger <stephen@networkplumber.org>
Thu, 26 Dec 2013 18:09:05 +0000 (10:09 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Dec 2013 18:29:35 +0000 (13:29 -0500)
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>
net/sched/sch_hhf.c

index 97aa33dbb90f269ecb969fad08ada1f3034cffe9..cf7f614e841b861f9370c01509da9061e9784cfd 100644 (file)
@@ -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)
 {