2021-02-01 08:10:59

by Yang Li

[permalink] [raw]
Subject: [PATCH] ASoC: fsl_xcvr: remove unneeded semicolon

Eliminate the following coccicheck warning:
./sound/soc/fsl/fsl_xcvr.c:739:2-3: Unneeded semicolon

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
---
sound/soc/fsl/fsl_xcvr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/fsl/fsl_xcvr.c b/sound/soc/fsl/fsl_xcvr.c
index 3d58c88..65b388a 100644
--- a/sound/soc/fsl/fsl_xcvr.c
+++ b/sound/soc/fsl/fsl_xcvr.c
@@ -736,7 +736,7 @@ static int fsl_xcvr_load_firmware(struct fsl_xcvr *xcvr)
/* clean current page, including data memory */
memset_io(xcvr->ram_addr, 0, size);
}
- };
+ }

err_firmware:
release_firmware(fw);
--
1.8.3.1


2021-02-02 02:34:54

by Shengjiu Wang

[permalink] [raw]
Subject: Re: [PATCH] ASoC: fsl_xcvr: remove unneeded semicolon

On Mon, Feb 1, 2021 at 4:08 PM Yang Li <[email protected]> wrote:
>
> Eliminate the following coccicheck warning:
> ./sound/soc/fsl/fsl_xcvr.c:739:2-3: Unneeded semicolon
>
> Reported-by: Abaci Robot <[email protected]>
> Signed-off-by: Yang Li <[email protected]>

Acked-by: Shengjiu Wang <[email protected]>