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) <jirislaby@kernel.org> Cc: Ping Cheng <ping.cheng@wacom.com> Cc: Jason Gerecke <jason.gerecke@wacom.com> Cc: Jiri Kosina <jikos@kernel.org> Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com> Acked-by: Ping Cheng <ping.cheng@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
1 parent f740106 commit dcd5231

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

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)