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

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
...@@ -447,7 +447,7 @@ void qdisc_watchdog_cancel(struct qdisc_watchdog *wd) ...@@ -447,7 +447,7 @@ void qdisc_watchdog_cancel(struct qdisc_watchdog *wd)
} }
EXPORT_SYMBOL(qdisc_watchdog_cancel); 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; unsigned int size = n * sizeof(struct hlist_head), i;
struct hlist_head *h; struct hlist_head *h;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment