All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] hid: remove the unnecessary redefinition of a macro
@ 2021-04-29  0:05 Hamza Mahfooz
  2021-05-05 12:56 ` Jiri Kosina
  0 siblings, 1 reply; 3+ messages in thread
From: Hamza Mahfooz @ 2021-04-29  0:05 UTC (permalink / raw)
  To: linux-kernel
  Cc: Jiri Kosina, Benjamin Tissoires, linux-input, kernel-janitors,
	Hamza Mahfooz

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(-)

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
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] hid: remove the unnecessary redefinition of a macro
  2021-04-29  0:05 [PATCH] hid: remove the unnecessary redefinition of a macro Hamza Mahfooz
@ 2021-05-05 12:56 ` Jiri Kosina
  0 siblings, 0 replies; 3+ messages in thread
From: Jiri Kosina @ 2021-05-05 12:56 UTC (permalink / raw)
  To: Hamza Mahfooz
  Cc: linux-kernel, Benjamin Tissoires, linux-input, kernel-janitors

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.

-- 
Jiri Kosina
SUSE Labs


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] hid: remove the unnecessary redefinition of a macro
@ 2021-04-23 19:34 Hamza Mahfooz
  0 siblings, 0 replies; 3+ messages in thread
From: Hamza Mahfooz @ 2021-04-23 19:34 UTC (permalink / raw)
  To: kernel-janitors; +Cc: linux-input, Hamza Mahfooz

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 | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index 67fd8a2f5aba..133101b567f2 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -299,7 +299,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
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-05-05 12:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-29  0:05 [PATCH] hid: remove the unnecessary redefinition of a macro Hamza Mahfooz
2021-05-05 12:56 ` Jiri Kosina
  -- strict thread matches above, loose matches on Subject: below --
2021-04-23 19:34 Hamza Mahfooz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.