mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] platform/x86: wmi-capdata01: Remove unneeded semicolon
@ 2025-07-29  3:16 Chen Ni
  2025-08-11 12:55 ` Ilpo Järvinen
  0 siblings, 1 reply; 2+ messages in thread
From: Chen Ni @ 2025-07-29  3:16 UTC (permalink / raw)
  To: nichen, mpearson-lenovo, derekjohn.clark, hansg, ilpo.jarvinen
  Cc: platform-driver-x86, linux-kernel

Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
semantic patch at scripts/coccinelle/misc/semicolon.cocci.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
---
 drivers/platform/x86/lenovo/wmi-capdata01.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/platform/x86/lenovo/wmi-capdata01.c b/drivers/platform/x86/lenovo/wmi-capdata01.c
index c922680b3cba..fc7e3454e71d 100644
--- a/drivers/platform/x86/lenovo/wmi-capdata01.c
+++ b/drivers/platform/x86/lenovo/wmi-capdata01.c
@@ -93,7 +93,7 @@ int lwmi_cd01_get_data(struct cd01_list *list, u32 attribute_id, struct capdata0
 			continue;
 		memcpy(output, &list->data[idx], sizeof(list->data[idx]));
 		return 0;
-	};
+	}
 
 	return -EINVAL;
 }
-- 
2.25.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] platform/x86: wmi-capdata01: Remove unneeded semicolon
  2025-07-29  3:16 [PATCH] platform/x86: wmi-capdata01: Remove unneeded semicolon Chen Ni
@ 2025-08-11 12:55 ` Ilpo Järvinen
  0 siblings, 0 replies; 2+ messages in thread
From: Ilpo Järvinen @ 2025-08-11 12:55 UTC (permalink / raw)
  To: mpearson-lenovo, derekjohn.clark, hansg, Chen Ni
  Cc: platform-driver-x86, linux-kernel

On Tue, 29 Jul 2025 11:16:31 +0800, Chen Ni wrote:

> Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
> semantic patch at scripts/coccinelle/misc/semicolon.cocci.
> 
> 


Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.

The list of commits applied:
[1/1] platform/x86: wmi-capdata01: Remove unneeded semicolon
      commit: 3bffbe0497f9e3c7d80f22d9d0f60c984d42ab6d

--
 i.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-08-11 12:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-29  3:16 [PATCH] platform/x86: wmi-capdata01: Remove unneeded semicolon Chen Ni
2025-08-11 12:55 ` Ilpo Järvinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®