2017-02-09 20:12:55

by Julia Lawall

[permalink] [raw]
Subject: [PATCH] rtlwifi: btcoexist: fix semicolon.cocci warnings

Remove unneeded semicolon.

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

CC: Larry Finger <[email protected]>
Signed-off-by: Julia Lawall <[email protected]>
Signed-off-by: Fengguang Wu <[email protected]>
---

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


2017-02-15 09:12:35

by Kalle Valo

[permalink] [raw]
Subject: Re: rtlwifi: btcoexist: fix semicolon.cocci warnings

Julia Lawall <[email protected]> wrote:
> Remove unneeded semicolon.
>
> Generated by: scripts/coccinelle/misc/semicolon.cocci
>
> CC: Larry Finger <[email protected]>
> Signed-off-by: Julia Lawall <[email protected]>
> Signed-off-by: Fengguang Wu <[email protected]>
> Acked-by: Larry Finger <[email protected]>

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

7546bba385b4 rtlwifi: btcoexist: fix semicolon.cocci warnings

--
https://patchwork.kernel.org/patch/9565451/

Documentation about submitting wireless patches and checking status
from patchwork:

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

2017-02-11 18:09:37

by Larry Finger

[permalink] [raw]
Subject: Re: [PATCH] rtlwifi: btcoexist: fix semicolon.cocci warnings

On 02/09/2017 02:12 PM, Julia Lawall wrote:
> Remove unneeded semicolon.
>
> Generated by: scripts/coccinelle/misc/semicolon.cocci
>
> CC: Larry Finger <[email protected]>
> Signed-off-by: Julia Lawall <[email protected]>
> Signed-off-by: Fengguang Wu <[email protected]>

Acked-by: Larry Finger <[email protected]>

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