Thread (2 messages) flat view 2 messages, 2 authors, 2018-01-13
STALE3127d

[PATCH] usb: xhci-mtk: fix semicolon.cocci warnings

From: kbuild test robot <hidden>
Date: 2018-01-12 17:47:25
Also in: linux-mediatek, linux-usb, lkml

From: Fengguang Wu <redacted>

drivers/usb/host/xhci-mtk.c:311:2-3: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: a2ecc4df9f84 ("usb: xhci-mtk: supports remote wakeup for mt2712 with two xHCI IPs")
CC: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Fengguang Wu <redacted>
---

 xhci-mtk.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/usb/host/xhci-mtk.c
+++ b/drivers/usb/host/xhci-mtk.c
@@ -308,7 +308,7 @@ static void usb_wakeup_ip_sleep_set(stru
 		break;
 	default:
 		return;
-	};
+	}
 	regmap_update_bits(mtk->uwk, reg, msk, val);
 }
 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help