usb: xhci-mtk: fix semicolon.cocci warnings
authorFengguang Wu <fengguang.wu@intel.com>
Fri, 12 Jan 2018 17:46:49 +0000 (01:46 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Jan 2018 09:01:01 +0000 (10:01 +0100)
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")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mtk.c

index 6da52df..b0ab4d5 100644 (file)
@@ -308,7 +308,7 @@ static void usb_wakeup_ip_sleep_set(struct xhci_hcd_mtk *mtk, bool enable)
                break;
        default:
                return;
-       };
+       }
        regmap_update_bits(mtk->uwk, reg, msk, val);
 }