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

Commit 6113b748 authored by Hannes Eder's avatar Hannes Eder Committed by David S. Miller
Browse files

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: default avatarHannes Eder <hannes@hanneseder.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ea5693cc
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -189,7 +189,7 @@ EXPORT_SYMBOL(unregister_qdisc);
   (root qdisc, all its children, children of children etc.)
   (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;
	struct Qdisc *q;