diff mbox

rtlwifi: btcoexist: fix semicolon.cocci warnings

Message ID alpine.DEB.2.20.1702092111340.1985@hadrien (mailing list archive)
State Accepted
Commit 7546bba385b4eb746fcb2ea972abe96efb44edb8
Delegated to: Kalle Valo
Headers show

Commit Message

Julia Lawall Feb. 9, 2017, 8:12 p.m. UTC
Remove unneeded semicolon.

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

CC: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

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

Comments

Larry Finger Feb. 11, 2017, 6:09 p.m. UTC | #1
On 02/09/2017 02:12 PM, Julia Lawall wrote:
> Remove unneeded semicolon.
>
> Generated by: scripts/coccinelle/misc/semicolon.cocci
>
> CC: Larry Finger <Larry.Finger@lwfinger.net>
> Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

Acked-by: Larry Finger <Larry.Finger@lwfinger.net>

Thanks,

Larry

> ---
>
>  halbtc8821a2ant.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c
> +++ b/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c
> @@ -2877,7 +2877,7 @@ static void halbtc8821a2ant_action_pan_e
>  					      false, false);
>  			btc8821a2ant_sw_mech2(btcoexist, false, false,
>  					      false, 0x18);
> -		};
> +		}
>  	} else {
>  		/* fw mechanism */
>  		if ((bt_rssi_state == BTC_RSSI_STATE_HIGH) ||
>
Kalle Valo Feb. 15, 2017, 9:12 a.m. UTC | #2
Julia Lawall <Julia.Lawall@lip6.fr> wrote:
> Remove unneeded semicolon.
> 
> Generated by: scripts/coccinelle/misc/semicolon.cocci
> 
> CC: Larry Finger <Larry.Finger@lwfinger.net>
> Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> Acked-by: Larry Finger <Larry.Finger@lwfinger.net>

Patch applied to wireless-drivers-next.git, thanks.

7546bba385b4 rtlwifi: btcoexist: fix semicolon.cocci warnings
diff mbox

Patch

--- a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c
+++ b/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c
@@ -2877,7 +2877,7 @@  static void halbtc8821a2ant_action_pan_e
 					      false, false);
 			btc8821a2ant_sw_mech2(btcoexist, false, false,
 					      false, 0x18);
-		};
+		}
 	} else {
 		/* fw mechanism */
 		if ((bt_rssi_state == BTC_RSSI_STATE_HIGH) ||