diff mbox series

power: reset: remove Unneeded semicolon

Message ID 1616413347-149266-1-git-send-email-dj0227@163.com (mailing list archive)
State Not Applicable, archived
Headers show
Series power: reset: remove Unneeded semicolon | expand

Commit Message

Jian Dong March 22, 2021, 11:42 a.m. UTC
From: dongjian <dongjian@yulong.com>

Fixes coccicheck warning:
drivers/power/reset/vexpress-poweroff.c:136:2-3: Unneeded semicolon

Signed-off-by: dongjian <dongjian@yulong.com>
---
 drivers/power/reset/vexpress-poweroff.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Sebastian Reichel March 22, 2021, 1:58 p.m. UTC | #1
Hi,

On Mon, Mar 22, 2021 at 07:42:27PM +0800, Jian Dong wrote:
> From: dongjian <dongjian@yulong.com>
> 
> Fixes coccicheck warning:
> drivers/power/reset/vexpress-poweroff.c:136:2-3: Unneeded semicolon
> 
> Signed-off-by: dongjian <dongjian@yulong.com>
> ---

Thanks, queued.

-- Sebastian

>  drivers/power/reset/vexpress-poweroff.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/power/reset/vexpress-poweroff.c b/drivers/power/reset/vexpress-poweroff.c
> index 1fdbcbd..447ffda 100644
> --- a/drivers/power/reset/vexpress-poweroff.c
> +++ b/drivers/power/reset/vexpress-poweroff.c
> @@ -133,7 +133,7 @@ static int vexpress_reset_probe(struct platform_device *pdev)
>  	case FUNC_REBOOT:
>  		ret = _vexpress_register_restart_handler(&pdev->dev);
>  		break;
> -	};
> +	}
>  
>  	return ret;
>  }
> -- 
> 1.9.1
> 
>
diff mbox series

Patch

diff --git a/drivers/power/reset/vexpress-poweroff.c b/drivers/power/reset/vexpress-poweroff.c
index 1fdbcbd..447ffda 100644
--- a/drivers/power/reset/vexpress-poweroff.c
+++ b/drivers/power/reset/vexpress-poweroff.c
@@ -133,7 +133,7 @@  static int vexpress_reset_probe(struct platform_device *pdev)
 	case FUNC_REBOOT:
 		ret = _vexpress_register_restart_handler(&pdev->dev);
 		break;
-	};
+	}
 
 	return ret;
 }