aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-4.14/950-0243-usb-dwb_otg-Fix-unreachable-switch-statement-warning.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm2708/patches-4.14/950-0243-usb-dwb_otg-Fix-unreachable-switch-statement-warning.patch')
-rw-r--r--target/linux/brcm2708/patches-4.14/950-0243-usb-dwb_otg-Fix-unreachable-switch-statement-warning.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/target/linux/brcm2708/patches-4.14/950-0243-usb-dwb_otg-Fix-unreachable-switch-statement-warning.patch b/target/linux/brcm2708/patches-4.14/950-0243-usb-dwb_otg-Fix-unreachable-switch-statement-warning.patch
deleted file mode 100644
index 490c80b3ea..0000000000
--- a/target/linux/brcm2708/patches-4.14/950-0243-usb-dwb_otg-Fix-unreachable-switch-statement-warning.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 570d1abb82d480fa68b12bf787ea8204bdcdbacc Mon Sep 17 00:00:00 2001
-From: Nathan Chancellor <natechancellor@gmail.com>
-Date: Sun, 4 Mar 2018 20:09:26 -0700
-Subject: [PATCH 243/454] usb: dwb_otg: Fix unreachable switch statement
- warning
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-This warning appears with GCC 7.3.0 from toolchains.bootlin.com:
-
-../drivers/usb/host/dwc_otg/dwc_otg_fiq_fsm.c: In function ‘fiq_fsm_update_hs_isoc’:
-../drivers/usb/host/dwc_otg/dwc_otg_fiq_fsm.c:595:61: warning: statement will never be executed [-Wswitch-unreachable]
- st->hctsiz_copy.b.xfersize = nrpackets * st->hcchar_copy.b.mps;
- ~~~~~~~~~~~~~~~~~^~~~
-
-Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
----
- drivers/usb/host/dwc_otg/dwc_otg_fiq_fsm.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/drivers/usb/host/dwc_otg/dwc_otg_fiq_fsm.c
-+++ b/drivers/usb/host/dwc_otg/dwc_otg_fiq_fsm.c
-@@ -591,8 +591,8 @@ static int notrace noinline fiq_fsm_upda
- }
-
- } else {
-- switch (st->hcchar_copy.b.multicnt) {
- st->hctsiz_copy.b.xfersize = nrpackets * st->hcchar_copy.b.mps;
-+ switch (st->hcchar_copy.b.multicnt) {
- case 1:
- st->hctsiz_copy.b.pid = DWC_PID_DATA0;
- break;