Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

stephen hemminger and committed by
David S. Miller
c49fa257 db34de93

+1 -2
+1 -2
net/sched/sch_hhf.c
··· 711 711 return gnet_stats_copy_app(d, &st, sizeof(st)); 712 712 } 713 713 714 - struct Qdisc_ops hhf_qdisc_ops __read_mostly = { 714 + static struct Qdisc_ops hhf_qdisc_ops __read_mostly = { 715 715 .id = "hhf", 716 716 .priv_size = sizeof(struct hhf_sched_data), 717 717 ··· 727 727 .dump_stats = hhf_dump_stats, 728 728 .owner = THIS_MODULE, 729 729 }; 730 - EXPORT_SYMBOL(hhf_qdisc_ops); 731 730 732 731 static int __init hhf_module_init(void) 733 732 {