Re: [Outreachy kernel] [PATCH] staging: rtl8723bs: Remove unnecessary semicolon.
From: Julia Lawall
Date: Sat Mar 03 2018 - 15:52:47 EST
On Sun, 4 Mar 2018, Arushi Singhal wrote:
> Remove unnecessary semicolon using semicolon.cocci Coccinelle script.
>
> Signed-off-by: Arushi Singhal <arushisinghal19971997@xxxxxxxxx>
Acked-by: Julia Lawall <julia.lawall@xxxxxxx>
> ---
> drivers/staging/rtl8723bs/core/rtw_recv.c | 2 +-
> drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/rtl8723bs/core/rtw_recv.c b/drivers/staging/rtl8723bs/core/rtw_recv.c
> index 9c7c3be..86f995b 100644
> --- a/drivers/staging/rtl8723bs/core/rtw_recv.c
> +++ b/drivers/staging/rtl8723bs/core/rtw_recv.c
> @@ -1785,7 +1785,7 @@ static union recv_frame *recvframe_defrag(struct adapter *adapter,
> pfhdr->attrib.icv_len = pnfhdr->attrib.icv_len;
> plist = get_next(plist);
>
> - };
> + }
>
> /* free the defrag_q queue and return the prframe */
> rtw_free_recvframe_queue(defrag_q, pfree_recv_queue);
> diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c b/drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c
> index a71b552..f6aeb26 100644
> --- a/drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c
> +++ b/drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c
> @@ -163,7 +163,7 @@ static int phy_RF6052_Config_ParaFile(struct adapter *Adapter)
> break;
> }
>
> - /*----Restore RFENV control type----*/;
> + /*----Restore RFENV control type----*/
> switch (eRFPath) {
> case RF_PATH_A:
> case RF_PATH_C:
> --
> 2.7.4
>
> --
> You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kernel+unsubscribe@xxxxxxxxxxxxxxxxx
> To post to this group, send email to outreachy-kernel@xxxxxxxxxxxxxxxxx
> To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20180303191726.GA4986%40seema-Inspiron-15-3567.
> For more options, visit https://groups.google.com/d/optout.
>