.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | |
---|
3 | 4 | Broadcom B43 wireless driver |
---|
.. | .. |
---|
6 | 7 | |
---|
7 | 8 | Copyright (c) 2005-2008 Michael Buesch <m@bues.ch> |
---|
8 | 9 | |
---|
9 | | - This program is free software; you can redistribute it and/or modify |
---|
10 | | - it under the terms of the GNU General Public License as published by |
---|
11 | | - the Free Software Foundation; either version 2 of the License, or |
---|
12 | | - (at your option) any later version. |
---|
13 | | - |
---|
14 | | - This program is distributed in the hope that it will be useful, |
---|
15 | | - but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
16 | | - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
17 | | - GNU General Public License for more details. |
---|
18 | | - |
---|
19 | | - You should have received a copy of the GNU General Public License |
---|
20 | | - along with this program; see the file COPYING. If not, write to |
---|
21 | | - the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, |
---|
22 | | - Boston, MA 02110-1301, USA. |
---|
23 | 10 | |
---|
24 | 11 | */ |
---|
25 | 12 | |
---|
.. | .. |
---|
307 | 294 | switch (queue_prio) { |
---|
308 | 295 | default: |
---|
309 | 296 | B43_WARN_ON(1); |
---|
310 | | - /* fallthrough */ |
---|
| 297 | + fallthrough; |
---|
311 | 298 | case 0: |
---|
312 | 299 | q = dev->pio.tx_queue_AC_VO; |
---|
313 | 300 | break; |
---|
.. | .. |
---|
778 | 765 | bool stop; |
---|
779 | 766 | |
---|
780 | 767 | while (1) { |
---|
781 | | - stop = (pio_rx_frame(q) == 0); |
---|
| 768 | + stop = !pio_rx_frame(q); |
---|
782 | 769 | if (stop) |
---|
783 | 770 | break; |
---|
784 | 771 | cond_resched(); |
---|