aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Tissoires <[email protected]>2024-06-08 11:01:24 +0200
committerBenjamin Tissoires <[email protected]>2024-06-14 11:20:20 +0200
commit26ba1e0a982b9efe8b121d7e41dae4fdf118b048 (patch)
treef22a5e8303c5126f7ef310bb2f1e034a3552c204
parent5f42e19de53faf9e6d4455638f75b7c3a3f8d58f (diff)
HID: bpf: Artist24: remove unused variable
warning: unused variable ‘tilt’ [-Wunused-variable] Signed-off-by: Peter Hutterer <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Benjamin Tissoires <[email protected]>
-rw-r--r--drivers/hid/bpf/progs/XPPen__Artist24.bpf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hid/bpf/progs/XPPen__Artist24.bpf.c b/drivers/hid/bpf/progs/XPPen__Artist24.bpf.c
index bc0b85c38445..d4d062c3a653 100644
--- a/drivers/hid/bpf/progs/XPPen__Artist24.bpf.c
+++ b/drivers/hid/bpf/progs/XPPen__Artist24.bpf.c
@@ -158,7 +158,6 @@ int BPF_PROG(xppen_24_fix_eraser, struct hid_bpf_ctx *hctx)
__u8 *data = hid_bpf_get_data(hctx, 0 /* offset */, 10 /* size */);
__u8 current_state, changed_state;
bool prev_tip;
- __u16 tilt;
if (!data)
return 0; /* EPERM check */