diff mbox series

hid: remove the unnecessary redefinition of a macro

Message ID 20210429000514.11650-1-someguy@effective-light.com (mailing list archive)
State Mainlined
Commit 670a23111e720dd50b07c25437b480f1bdfecc78
Delegated to: Jiri Kosina
Headers show
Series hid: remove the unnecessary redefinition of a macro | expand

Commit Message

Hamza Mahfooz April 29, 2021, 12:05 a.m. UTC
USB_VENDOR_ID_CORSAIR is defined twice in the same file with the same
value.

Signed-off-by: Hamza Mahfooz <someguy@effective-light.com>
---
 drivers/hid/hid-ids.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Jiri Kosina May 5, 2021, 12:56 p.m. UTC | #1
On Wed, 28 Apr 2021, Hamza Mahfooz wrote:

> USB_VENDOR_ID_CORSAIR is defined twice in the same file with the same
> value.

Applied, thank you.
diff mbox series

Patch

diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index 67fd8a2f5aba..ce8b3c0ef45c 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -298,8 +298,6 @@ 
 
 #define USB_VENDOR_ID_CORSAIR		0x1b1c
 #define USB_DEVICE_ID_CORSAIR_K90	0x1b02
-
-#define USB_VENDOR_ID_CORSAIR           0x1b1c
 #define USB_DEVICE_ID_CORSAIR_K70R      0x1b09
 #define USB_DEVICE_ID_CORSAIR_K95RGB    0x1b11
 #define USB_DEVICE_ID_CORSAIR_M65RGB    0x1b12