rtlwifi: btcoexist: fix semicolon.cocci warnings
PATCH 1/1 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(-)
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c +1 -1
@@ -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) ||
Quoted 7 lines · Julia Lawall
Remove unneeded semicolon.
Generated by:
scripts/coccinelle/misc/semicolon.cocciCC 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
Quoted 17 lines
---
halbtc8821a2ant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c +1
-1@@ -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) ||
Quoted 8 lines · Julia Lawall
Remove unneeded semicolon.
Generated by:
scripts/coccinelle/misc/semicolon.cocciCC 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
Signature · 6 lines
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