diff mbox series

HID: hid-sensor-hub: Remove unused macros

Message ID 20220626081201.7145-1-akihiko.odaki@gmail.com
State New
Headers show
Series HID: hid-sensor-hub: Remove unused macros | expand

Commit Message

Akihiko Odaki June 26, 2022, 8:12 a.m. UTC
Commit b0f847e16c1e ("HID: hid-sensor-hub: Force logical minimum to 1
for power and report state"), which removed the code using the macros,
did not remove them.

Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
---
 drivers/hid/hid-ids.h        | 13 -------------
 drivers/hid/hid-sensor-hub.c |  2 --
 2 files changed, 15 deletions(-)
diff mbox series

Patch

diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index d9eb676abe96..155fdd2cd30a 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -631,15 +631,6 @@ 
 #define USB_VENDOR_ID_ILITEK		0x222a
 #define USB_DEVICE_ID_ILITEK_MULTITOUCH	0x0001
 
-#define USB_VENDOR_ID_INTEL_0		0x8086
-#define USB_VENDOR_ID_INTEL_1		0x8087
-#define USB_DEVICE_ID_INTEL_HID_SENSOR_0	0x09fa
-#define USB_DEVICE_ID_INTEL_HID_SENSOR_1	0x0a04
-
-#define USB_VENDOR_ID_STM_0             0x0483
-#define USB_DEVICE_ID_STM_HID_SENSOR    0x91d1
-#define USB_DEVICE_ID_STM_HID_SENSOR_1  0x9100
-
 #define USB_VENDOR_ID_ION		0x15e4
 #define USB_DEVICE_ID_ICADE		0x0132
 
@@ -669,10 +660,7 @@ 
 #define USB_VENDOR_ID_ITE               0x048d
 #define I2C_VENDOR_ID_ITE		0x103c
 #define I2C_DEVICE_ID_ITE_VOYO_WINPAD_A15	0x184f
-#define USB_DEVICE_ID_ITE_LENOVO_YOGA   0x8386
-#define USB_DEVICE_ID_ITE_LENOVO_YOGA2  0x8350
 #define I2C_DEVICE_ID_ITE_LENOVO_LEGION_Y720	0x837a
-#define USB_DEVICE_ID_ITE_LENOVO_YOGA900	0x8396
 #define USB_DEVICE_ID_ITE8595		0x8595
 #define USB_DEVICE_ID_ITE_MEDION_E1239T	0xce50
 
@@ -1211,7 +1199,6 @@ 
 #define USB_DEVICE_ID_SYNAPTICS_ACER_ONE_S1003	0x73f5
 #define USB_DEVICE_ID_SYNAPTICS_ACER_SWITCH5	0x81a7
 
-#define USB_VENDOR_ID_TEXAS_INSTRUMENTS	0x2047
 #define USB_DEVICE_ID_TEXAS_INSTRUMENTS_LENOVO_YOGA	0x0855
 
 #define USB_VENDOR_ID_THINGM		0x27b8
diff --git a/drivers/hid/hid-sensor-hub.c b/drivers/hid/hid-sensor-hub.c
index 6abd3e2a9094..22fd680f3f8f 100644
--- a/drivers/hid/hid-sensor-hub.c
+++ b/drivers/hid/hid-sensor-hub.c
@@ -14,8 +14,6 @@ 
 #include <linux/hid-sensor-hub.h>
 #include "hid-ids.h"
 
-#define HID_SENSOR_HUB_ENUM_QUIRK	0x01
-
 /**
  * struct sensor_hub_data - Hold a instance data for a HID hub device
  * @mutex:		Mutex to serialize synchronous request.