Skip to content

Commit 26ba1e0

Browse files
author
Benjamin Tissoires
committed
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]>
1 parent 5f42e19 commit 26ba1e0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/hid/bpf/progs/XPPen__Artist24.bpf.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ int BPF_PROG(xppen_24_fix_eraser, struct hid_bpf_ctx *hctx)
158158
__u8 *data = hid_bpf_get_data(hctx, 0 /* offset */, 10 /* size */);
159159
__u8 current_state, changed_state;
160160
bool prev_tip;
161-
__u16 tilt;
162161

163162
if (!data)
164163
return 0; /* EPERM check */

0 commit comments

Comments
 (0)