]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: sched: make function qdisc_free_cb() static
authorWei Yongjun <weiyongjun1@huawei.com>
Thu, 27 Sep 2018 14:47:56 +0000 (14:47 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Dec 2021 09:18:10 +0000 (10:18 +0100)
commit3abc67ecf3364d6be3df4c129e9ec01c1ea742f3
treea40067dfac36d911734a8222a803f99940380c17
parentf9ff09e266ca70c801b9911280f6ae64c9183d85
net: sched: make function qdisc_free_cb() static

commit 5362700c942b2cc4bab328361545a6d6fe649534 upstream.

Fixes the following sparse warning:

net/sched/sch_generic.c:944:6: warning:
 symbol 'qdisc_free_cb' was not declared. Should it be static?

Fixes: 3a7d0d07a386 ("net: sched: extend Qdisc with rcu")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/sched/sch_generic.c