summaryrefslogtreecommitdiff
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@inria.fr>2026-08-01 21:09:47 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-09-10 14:43:23 +0200
commitf19023e1e59364b363fc37555811e70b3a46f9da (patch)
tree6d2b98c01428d0034e64abf14c69d922afbc1c1f /drivers/usb/host
parent0c6cae0f56239e3274b30dbe5b362cd297ccacc7 (diff)
downloadlinux-next-f19023e1e59364b363fc37555811e70b3a46f9da.tar.gz
linux-next-f19023e1e59364b363fc37555811e70b3a46f9da.zip
USB: OHCI: drop unneeded semicolon
When a function-like macro expands to an expression, that expression doesn't need a semicolon after it. All uses have been verified to have their own semicolons. This was found using the following Coccinelle semantic patch: @r@ identifier i : script:ocaml() { String.lowercase_ascii i = i }; expression e; @@ *#define i(...) e; Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> Reviewed-by: Alan Stern <stern@rowland.harvard.edu> Link: https://patch.msgid.link/20260801191002.1383835-1-Julia.Lawall@inria.fr Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r--drivers/usb/host/ohci-dbg.c2
-rw-r--r--drivers/usb/host/ohci-hub.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/ohci-dbg.c b/drivers/usb/host/ohci-dbg.c
index 23dc9eddc06c..d945737f0196 100644
--- a/drivers/usb/host/ohci-dbg.c
+++ b/drivers/usb/host/ohci-dbg.c
@@ -184,7 +184,7 @@ ohci_dump_status (struct ohci_hcd *controller, char **next, unsigned *size)
\
(temp & RH_PS_PES) ? " PES" : "", \
(temp & RH_PS_CCS) ? " CCS" : "" \
- );
+ )
static void
diff --git a/drivers/usb/host/ohci-hub.c b/drivers/usb/host/ohci-hub.c
index b3d734ab6201..84d10a932942 100644
--- a/drivers/usb/host/ohci-hub.c
+++ b/drivers/usb/host/ohci-hub.c
@@ -33,7 +33,7 @@
\
(value & RH_PS_PES) ? " PES" : "", \
(value & RH_PS_CCS) ? " CCS" : "" \
- );
+ )
/*-------------------------------------------------------------------------*/