summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorJun Yan <jerrysteve1101@gmail.com>2024-12-13 22:53:14 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-23 18:40:39 +0100
commitc975c9b8f8204c34213e9a6821f597bbda021f8e (patch)
tree0d238fef7f6b9b4db10e077008a5f620b1fc35be /drivers/usb
parente9509b499349965ee866aae8eea85e909d798c11 (diff)
downloadlinux-stable-c975c9b8f8204c34213e9a6821f597bbda021f8e.tar.gz
linux-stable-c975c9b8f8204c34213e9a6821f597bbda021f8e.tar.bz2
linux-stable-c975c9b8f8204c34213e9a6821f597bbda021f8e.zip
USB: usblp: remove redundant semicolon
remove redundant semicolon in LPIOC_SOFT_RESET to fix the incorrect macro expansion syntax. Signed-off-by: Jun Yan <jerrysteve1101@gmail.com> Link: https://lore.kernel.org/r/20241213145314.785616-1-jerrysteve1101@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/class/usblp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/class/usblp.c b/drivers/usb/class/usblp.c
index 5a2e43331064..0f422f6c28e9 100644
--- a/drivers/usb/class/usblp.c
+++ b/drivers/usb/class/usblp.c
@@ -87,7 +87,7 @@
/* Get two-int array: [0]=vendor ID, [1]=product ID: */
#define LPIOC_GET_VID_PID(len) _IOC(_IOC_READ, 'P', IOCNR_GET_VID_PID, len)
/* Perform class specific soft reset */
-#define LPIOC_SOFT_RESET _IOC(_IOC_NONE, 'P', IOCNR_SOFT_RESET, 0);
+#define LPIOC_SOFT_RESET _IOC(_IOC_NONE, 'P', IOCNR_SOFT_RESET, 0)
/*
* A DEVICE_ID string may include the printer's serial number.