summaryrefslogtreecommitdiff
path: root/drivers/hid/wacom_wac.h
diff options
context:
space:
mode:
authorAaron Armstrong Skomra <aaron.skomra@wacom.com>2023-07-26 01:20:57 +0300
committerJiri Kosina <jkosina@suse.cz>2023-08-14 12:43:57 +0300
commit2834e38048f1ef9bd7473fbc33e8266ad7a24fcb (patch)
tree094e961649e380ef0f27b9b00f5ffc77946e75f6 /drivers/hid/wacom_wac.h
parent9ac6678b95b0dd9458a7a6869f46e51cd55a1d84 (diff)
downloadlinux-2834e38048f1ef9bd7473fbc33e8266ad7a24fcb.tar.xz
HID: wacom: remove unnecessary 'connected' variable from EKR
The 'connected' variable was poorly named, and this has led to some confusion. We can get the same information by checking if a serial number exists in the specified EKR slot. Signed-off-by: Aaron Skomra <skomra@gmail.com> Signed-off-by: Aaron Armstrong Skomra <aaron.skomra@wacom.com> Reviewed-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/wacom_wac.h')
-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 2e7cc5e7a0cb..a10b19669947 100644
--- a/drivers/hid/wacom_wac.h
+++ b/drivers/hid/wacom_wac.h
@@ -331,7 +331,6 @@ struct hid_data {
struct wacom_remote_data {
struct {
u32 serial;
- bool connected;
} remote[WACOM_MAX_REMOTES];
};