Skip to content

Commit dcd5231

Browse files
Jiri Slaby (SUSE)Jiri Kosina
authored andcommitted
HID: wacom: remove unused hid_data::pressure
The pressure member in struct hid_data is unused. It was added in commit 5ae6e89 (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]>
1 parent f740106 commit dcd5231

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/hid/wacom_wac.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,6 @@ struct hid_data {
309309
bool confidence;
310310
int x;
311311
int y;
312-
int pressure;
313312
int width;
314313
int height;
315314
int id;

0 commit comments

Comments
 (0)