Skip to content

Commit c49fa25

Browse files
shemmingerdavem330
authored andcommitted
hhf: make qdisc ops static
This module shouldn't be randomly exporting symbols Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent db34de9 commit c49fa25

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

net/sched/sch_hhf.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ static int hhf_dump_stats(struct Qdisc *sch, struct gnet_dump *d)
711711
return gnet_stats_copy_app(d, &st, sizeof(st));
712712
}
713713

714-
struct Qdisc_ops hhf_qdisc_ops __read_mostly = {
714+
static struct Qdisc_ops hhf_qdisc_ops __read_mostly = {
715715
.id = "hhf",
716716
.priv_size = sizeof(struct hhf_sched_data),
717717

@@ -727,7 +727,6 @@ struct Qdisc_ops hhf_qdisc_ops __read_mostly = {
727727
.dump_stats = hhf_dump_stats,
728728
.owner = THIS_MODULE,
729729
};
730-
EXPORT_SYMBOL(hhf_qdisc_ops);
731730

732731
static int __init hhf_module_init(void)
733732
{

0 commit comments

Comments
 (0)