lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20220626081201.7145-1-akihiko.odaki@gmail.com>
Date:   Sun, 26 Jun 2022 17:12:01 +0900
From:   Akihiko Odaki <akihiko.odaki@...il.com>
To:     unlisted-recipients:; (no To-header on input)
Cc:     Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>,
        Jonathan Cameron <Jonathan.Cameron@...wei.com>,
        Jiri Kosina <jkosina@...e.cz>, linux-input@...r.kernel.org,
        linux-kernel@...r.kernel.org, linux-iio@...r.kernel.org,
        Akihiko Odaki <akihiko.odaki@...il.com>
Subject: [PATCH] HID: hid-sensor-hub: Remove unused macros

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@...il.com>
---
 drivers/hid/hid-ids.h        | 13 -------------
 drivers/hid/hid-sensor-hub.c |  2 --
 2 files changed, 15 deletions(-)

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.
-- 
2.36.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ