[PATCH -next] coresight: core: Remove unneeded semicolon

Mathieu Poirier mathieu.poirier at linaro.org
Thu Oct 29 13:35:16 EDT 2020


Hi Wei,

On Thu, Oct 29, 2020 at 10:25:48AM +0800, Zou Wei wrote:
> Fixes coccicheck warning:
> 
> ./drivers/hwtracing/coresight/coresight-core.c:421:4-5: Unneeded semicolon
> 
> Reported-by: Hulk Robot <hulkci at huawei.com>
> Signed-off-by: Zou Wei <zou_wei at huawei.com>
> ---
>  drivers/hwtracing/coresight/coresight-core.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/hwtracing/coresight/coresight-core.c b/drivers/hwtracing/coresight/coresight-core.c
> index cc9e802..29c83ea 100644
> --- a/drivers/hwtracing/coresight/coresight-core.c
> +++ b/drivers/hwtracing/coresight/coresight-core.c
> @@ -418,7 +418,7 @@ static int coresight_enable_source(struct coresight_device *csdev, u32 mode)
>  			if (ret) {
>  				coresight_control_assoc_ectdev(csdev, false);
>  				return ret;
> -			};
> +			}

I picked up your patch.

Thanks,
Mathieu

>  		}
>  		csdev->enable = true;
>  	}
> -- 
> 2.6.2
> 



More information about the linux-arm-kernel mailing list