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

pkt_sched: make qdisc_class_hash_alloc() static

This patch makes the needlessly global qdisc_class_hash_alloc() static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Adrian Bunk and committed by
David S. Miller
a94f779f 8086cd45

+1 -1
+1 -1
net/sched/sch_api.c
··· 447 447 } 448 448 EXPORT_SYMBOL(qdisc_watchdog_cancel); 449 449 450 - struct hlist_head *qdisc_class_hash_alloc(unsigned int n) 450 + static struct hlist_head *qdisc_class_hash_alloc(unsigned int n) 451 451 { 452 452 unsigned int size = n * sizeof(struct hlist_head), i; 453 453 struct hlist_head *h;