2022-01-07 00:28:34

by Yang Li

[permalink] [raw]
Subject: [PATCH -next] of: unittest: remove unneeded semicolon

Eliminate the following coccicheck warning:
./drivers/of/unittest.c:1961:2-3: Unneeded semicolon

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

diff --git a/drivers/of/unittest.c b/drivers/of/unittest.c
index ab4f61cc6a95..70992103c07d 100644
--- a/drivers/of/unittest.c
+++ b/drivers/of/unittest.c
@@ -1958,7 +1958,7 @@ static void of_unittest_remove_tracked_overlays(void)
__func__, overlay_name, ret);
}
of_unittest_untrack_overlay(save_ovcs_id);
- };
+ }

}

--
2.20.1.7.g153144c



2022-01-07 23:30:50

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH -next] of: unittest: remove unneeded semicolon

On Fri, 07 Jan 2022 08:28:26 +0800, Yang Li wrote:
> Eliminate the following coccicheck warning:
> ./drivers/of/unittest.c:1961:2-3: Unneeded semicolon
>
> Reported-by: Abaci Robot <[email protected]>
> Signed-off-by: Yang Li <[email protected]>
> ---
> drivers/of/unittest.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Applied, thanks!