[PATCH -next] of: unittest: remove unneeded semicolon

Yang Li posted 1 patch 4 years, 5 months ago
drivers/of/unittest.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH -next] of: unittest: remove unneeded semicolon
Posted by Yang Li 4 years, 5 months ago
Eliminate the following coccicheck warning:
./drivers/of/unittest.c:1961:2-3: Unneeded semicolon

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 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

Re: [PATCH -next] of: unittest: remove unneeded semicolon
Posted by Rob Herring 4 years, 5 months ago
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 <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
>  drivers/of/unittest.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Applied, thanks!