summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_api.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-07-22 14:20:11 -0700
committerDavid S. Miller <davem@davemloft.net>2008-07-22 14:20:11 -0700
commita94f779f9d82eb2d758a8715eaae5df98e8dcb21 (patch)
tree0ea45807ecf0f6788ec226000b4ff69b0c0bd2a1 /net/sched/sch_api.c
parent8086cd451f08f4c0f9693fc66d87754bbd18cfba (diff)
downloadop-kernel-dev-a94f779f9d82eb2d758a8715eaae5df98e8dcb21.zip
op-kernel-dev-a94f779f9d82eb2d758a8715eaae5df98e8dcb21.tar.gz
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>
Diffstat (limited to 'net/sched/sch_api.c')
-rw-r--r--net/sched/sch_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c
index 5219d5f..b060164 100644
--- a/net/sched/sch_api.c
+++ b/net/sched/sch_api.c
@@ -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;
OpenPOWER on IntegriCloud