diff mbox series

[-next] firmware: arm_scmi: Remove unneeded semicolon

Message ID 20231007012058.4084-1-yang.lee@linux.alibaba.com (mailing list archive)
State New, archived
Headers show
Series [-next] firmware: arm_scmi: Remove unneeded semicolon | expand

Commit Message

Yang Li Oct. 7, 2023, 1:20 a.m. UTC
./drivers/firmware/arm_scmi/clock.c:236:2-3: Unneeded semicolon

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6717
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/firmware/arm_scmi/clock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Sudeep Holla Oct. 8, 2023, 8:44 a.m. UTC | #1
On Sat, Oct 07, 2023 at 09:20:58AM +0800, Yang Li wrote:
> ./drivers/firmware/arm_scmi/clock.c:236:2-3: Unneeded semicolon
> 
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6717
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
>  drivers/firmware/arm_scmi/clock.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/firmware/arm_scmi/clock.c b/drivers/firmware/arm_scmi/clock.c
> index ddaef34cd88b..432812205775 100644
> --- a/drivers/firmware/arm_scmi/clock.c
> +++ b/drivers/firmware/arm_scmi/clock.c
> @@ -233,7 +233,7 @@ static int iter_clk_possible_parents_update_state(struct scmi_iterator_state *st
>  		}
>  
>  		st->max_resources = st->num_returned + st->num_remaining;
> -	};
> +	}
>  

The patch introducing this is being waited for an Ack and not finalised yet.
I will fold in the changes. Thanks for pointing it out, much appreciated!
diff mbox series

Patch

diff --git a/drivers/firmware/arm_scmi/clock.c b/drivers/firmware/arm_scmi/clock.c
index ddaef34cd88b..432812205775 100644
--- a/drivers/firmware/arm_scmi/clock.c
+++ b/drivers/firmware/arm_scmi/clock.c
@@ -233,7 +233,7 @@  static int iter_clk_possible_parents_update_state(struct scmi_iterator_state *st
 		}
 
 		st->max_resources = st->num_returned + st->num_remaining;
-	};
+	}
 
 	return 0;
 }