.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * net/sched/sch_sfq.c Stochastic Fairness Queueing discipline. |
---|
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. |
---|
8 | 4 | * |
---|
9 | 5 | * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> |
---|
10 | 6 | */ |
---|
.. | .. |
---|
190 | 186 | case TC_ACT_QUEUED: |
---|
191 | 187 | case TC_ACT_TRAP: |
---|
192 | 188 | *qerr = NET_XMIT_SUCCESS | __NET_XMIT_STOLEN; |
---|
193 | | - /* fall through */ |
---|
| 189 | + fallthrough; |
---|
194 | 190 | case TC_ACT_SHOT: |
---|
195 | 191 | return 0; |
---|
196 | 192 | } |
---|
.. | .. |
---|
353 | 349 | unsigned int hash, dropped; |
---|
354 | 350 | sfq_index x, qlen; |
---|
355 | 351 | struct sfq_slot *slot; |
---|
356 | | - int uninitialized_var(ret); |
---|
| 352 | + int ret; |
---|
357 | 353 | struct sk_buff *head; |
---|
358 | 354 | int delta; |
---|
359 | 355 | |
---|