hc
2024-05-10 10ebd8556b7990499c896a550e3d416b444211e6
kernel/net/sched/sch_skbprio.c
....@@ -1,10 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * net/sched/sch_skbprio.c SKB Priority Queue.
3
- *
4
- * This program is free software; you can redistribute it and/or
5
- * modify it under the terms of the GNU General Public License
6
- * as published by the Free Software Foundation; either version
7
- * 2 of the License, or (at your option) any later version.
84 *
95 * Authors: Nishanth Devarajan, <ndev2021@gmail.com>
106 * Cody Doucette, <doucette@bu.edu>
....@@ -216,9 +212,6 @@
216212 {
217213 struct skbprio_sched_data *q = qdisc_priv(sch);
218214 int prio;
219
-
220
- sch->qstats.backlog = 0;
221
- sch->q.qlen = 0;
222215
223216 for (prio = 0; prio < SKBPRIO_MAX_PRIORITY; prio++)
224217 __skb_queue_purge(&q->qdiscs[prio]);