Linux Input/HID development
 help / color / mirror / Atom feed
* [PATCH] samples/hid: hid_surface_dial: Remove unneeded semicolon
@ 2023-06-27  8:19 baomingtong001
  0 siblings, 0 replies; only message in thread
From: baomingtong001 @ 2023-06-27  8:19 UTC (permalink / raw)
  To: jikos, benjamin.tissoires; +Cc: linux-input, linux-kernel

./samples/hid/hid_surface_dial.c:170:5-6: Unneeded semicolon

Signed-off-by: Mingtong Bao <baomingtong001@208suo.com>
---
  samples/hid/hid_surface_dial.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/samples/hid/hid_surface_dial.c 
b/samples/hid/hid_surface_dial.c
index 4bc97373a708..704f2b639492 100644
--- a/samples/hid/hid_surface_dial.c
+++ b/samples/hid/hid_surface_dial.c
@@ -167,7 +167,7 @@ int main(int argc, char **argv)
  						"invalid r option %s - expecting a number\n",
  						optarg ? optarg : "");
  					exit(EXIT_FAILURE);
-				};
+				}

  				resolution = (int) l;
  				break;
-- 
2.40.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-06-27  8:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-27  8:19 [PATCH] samples/hid: hid_surface_dial: Remove unneeded semicolon baomingtong001

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