aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <[email protected]>2024-02-01 12:53:15 +0100
committerJiri Kosina <[email protected]>2024-02-13 11:43:55 +0100
commitdcd5231f093b6cd8ea2015e7fe1f372cef5c643d (patch)
treef9051ed144744aa6f4959ca64ca8b915a230e4a2
parentf740106aedd36a1ea2884ac78345e794ebb4040a (diff)
HID: wacom: remove unused hid_data::pressure
The pressure member in struct hid_data is unused. It was added in commit 5ae6e89f7409 (HID: wacom: implement the finger part of the HID generic handling), but never used. As this is not a struct to communicate with the HW, remove that member. Found by https://github.com/jirislaby/clang-struct. Signed-off-by: Jiri Slaby (SUSE) <[email protected]> Cc: Ping Cheng <[email protected]> Cc: Jason Gerecke <[email protected]> Cc: Jiri Kosina <[email protected]> Cc: Benjamin Tissoires <[email protected]> Acked-by: Ping Cheng <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
-rw-r--r--drivers/hid/wacom_wac.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hid/wacom_wac.h b/drivers/hid/wacom_wac.h
index e63b1e806e34..6ec499841f70 100644
--- a/drivers/hid/wacom_wac.h
+++ b/drivers/hid/wacom_wac.h
@@ -309,7 +309,6 @@ struct hid_data {
bool confidence;
int x;
int y;
- int pressure;
int width;
int height;
int id;