projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8086cd4
)
pkt_sched: make qdisc_class_hash_alloc() static
author
Adrian Bunk
<bunk@kernel.org>
Tue, 22 Jul 2008 21:20:11 +0000
(14:20 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 22 Jul 2008 21:20:11 +0000
(14:20 -0700)
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>
net/sched/sch_api.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sched/sch_api.c
b/net/sched/sch_api.c
index 5219d5f9d75444e4a35482d2e707efcf0af2fe1d..b0601642e22759f3f454eb36f53136d5a6c6d90a 100644
(file)
--- 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)
+st
atic st
ruct hlist_head *qdisc_class_hash_alloc(unsigned int n)
{
unsigned int size = n * sizeof(struct hlist_head), i;
struct hlist_head *h;