diff mbox

usb: mtu3: fix semicolon.cocci warnings

Message ID 20180112171853.GA54422@ivb43 (mailing list archive)
State New, archived
Headers show

Commit Message

Fengguang Wu Jan. 12, 2018, 5:18 p.m. UTC
From: Fengguang Wu <fengguang.wu@intel.com>

drivers/usb/mtu3/mtu3_host.c:58:2-3: Unneeded semicolon


 Remove unneeded semicolon.

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

Fixes: f0ede2c6282b ("usb: mtu3: supports remote wakeup for mt2712 with two SSUSB IPs")
CC: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 mtu3_host.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Chunfeng Yun (云春峰) Jan. 13, 2018, 6:34 a.m. UTC | #1
On Sat, 2018-01-13 at 01:18 +0800, kbuild test robot wrote:
> From: Fengguang Wu <fengguang.wu@intel.com>
> 
> drivers/usb/mtu3/mtu3_host.c:58:2-3: Unneeded semicolon
> 
> 
>  Remove unneeded semicolon.
> 
> Generated by: scripts/coccinelle/misc/semicolon.cocci
> 
> Fixes: f0ede2c6282b ("usb: mtu3: supports remote wakeup for mt2712 with two SSUSB IPs")
> CC: Chunfeng Yun <chunfeng.yun@mediatek.com>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> ---
> 
>  mtu3_host.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- a/drivers/usb/mtu3/mtu3_host.c
> +++ b/drivers/usb/mtu3/mtu3_host.c
> @@ -55,7 +55,7 @@ static void ssusb_wakeup_ip_sleep_set(st
>  		break;
>  	default:
>  		return;
> -	};
> +	}
>  	regmap_update_bits(ssusb->uwk, reg, msk, val);
>  }
>  
Thanks a lot.

Acked-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
diff mbox

Patch

--- a/drivers/usb/mtu3/mtu3_host.c
+++ b/drivers/usb/mtu3/mtu3_host.c
@@ -55,7 +55,7 @@  static void ssusb_wakeup_ip_sleep_set(st
 		break;
 	default:
 		return;
-	};
+	}
 	regmap_update_bits(ssusb->uwk, reg, msk, val);
 }