Skip to contentSkip to conversation

hid: remove the unnecessary redefinition of a macro

PATCH Applied Hamza Mahfooz 2 participants 2 messages Apr 29, 2021 – May 5, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hid: remove the unnecessary redefinition of a macro

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

---
 drivers/hid/hid-ids.h | 2 --
 1 file changed, 2 deletions(-)
drivers/hid/hid-ids.h +0 -2
index 67fd8a2f5aba..ce8b3c0ef45c 100644
@@ -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
Signature · 1 line
2.31.1
maintainer Applied
#1 lore raw
Quoted 2 lines · Hamza Mahfooz

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

Applied, thank you.

Signature · 2 lines
Jiri Kosina
SUSE Labs