Skip to content

Commit

Permalink
backport: 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]>
[[email protected]: Backported from input-wacom (ca314d5)]
Signed-off-by: Jason Gerecke <[email protected]>
  • Loading branch information
Jiri Slaby (SUSE) authored and jigpu committed Feb 13, 2024
1 parent 387db35 commit 1e8dbac
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion 3.17/wacom_wac.h
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,6 @@ struct hid_data {
bool confidence;
int x;
int y;
int pressure;
int width;
int height;
int id;
Expand Down

0 comments on commit 1e8dbac

Please sign in to comment.