Skip to content

Commit

Permalink
HID: wacom: remove unused hid_data::pressure
Browse files Browse the repository at this point in the history
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]>
[[email protected]: Imported into input-wacom (dcd5231f093b)]
Signed-off-by: Jason Gerecke <[email protected]>
  • Loading branch information
Jiri Slaby (SUSE) authored and jigpu committed Feb 13, 2024
1 parent cd1fe46 commit ca314d5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion 4.5/wacom_wac.h
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,6 @@ struct hid_data {
bool confidence;
int x;
int y;
int pressure;
int width;
int height;
int id;
Expand Down

0 comments on commit ca314d5

Please sign in to comment.