Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a94f779f authored by Adrian Bunk's avatar Adrian Bunk Committed by David S. Miller
Browse files

pkt_sched: make qdisc_class_hash_alloc() static



This patch makes the needlessly global qdisc_class_hash_alloc() static.

Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Acked-by: default avatarPatrick McHardy <kaber@trash.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8086cd45
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -447,7 +447,7 @@ void qdisc_watchdog_cancel(struct qdisc_watchdog *wd)
}
EXPORT_SYMBOL(qdisc_watchdog_cancel);

struct hlist_head *qdisc_class_hash_alloc(unsigned int n)
static struct hlist_head *qdisc_class_hash_alloc(unsigned int n)
{
	unsigned int size = n * sizeof(struct hlist_head), i;
	struct hlist_head *h;