diff mbox

usb: xhci-mtk: fix semicolon.cocci warnings

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

Commit Message

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

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 <fengguang.wu@intel.com>
---

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

Comments

Chunfeng Yun Jan. 13, 2018, 6:35 a.m. UTC | #1
On Sat, 2018-01-13 at 01:46 +0800, kbuild test robot wrote:
> From: Fengguang Wu <fengguang.wu@intel.com>
> 
> 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 <fengguang.wu@intel.com>
> ---
> 
>  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);
>  }
>  
Thanks

Acked-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Mathias Nyman Jan. 16, 2018, 3:03 p.m. UTC | #2
On 13.01.2018 08:35, Chunfeng Yun wrote:
> On Sat, 2018-01-13 at 01:46 +0800, kbuild test robot wrote:
>> From: Fengguang Wu <fengguang.wu@intel.com>
>>
>> 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 <fengguang.wu@intel.com>
>> ---
>>
>>   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);
>>   }
>>   
> Thanks
> 
> Acked-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
> 

Thanks, Adding to queue

-Mathias
diff mbox

Patch

--- 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);
 }