From: Hannes Eder Date: Fri, 28 Nov 2008 11:06:46 +0000 (-0800) Subject: pkt_sched: fix sparse warning X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6113b748fb9935399ec2bbca3a3dc82008f6167f;p=linux-beck.git pkt_sched: fix sparse warning Impact: make global function static Fix the following sparse warning: net/sched/sch_api.c:192:14: warning: symbol 'qdisc_match_from_root' was not declared. Should it be static? Signed-off-by: Hannes Eder Signed-off-by: David S. Miller --- diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c index f859dd5fabf4..6bc29e8a7f32 100644 --- a/net/sched/sch_api.c +++ b/net/sched/sch_api.c @@ -189,7 +189,7 @@ EXPORT_SYMBOL(unregister_qdisc); (root qdisc, all its children, children of children etc.) */ -struct Qdisc *qdisc_match_from_root(struct Qdisc *root, u32 handle) +static struct Qdisc *qdisc_match_from_root(struct Qdisc *root, u32 handle) { struct Qdisc *q;