aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hid
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2022-04-05 00:04:38 +0000
committerWarner Losh <imp@FreeBSD.org>2022-04-05 04:29:31 +0000
commit92ec9782ac9739df8967acaaee114a68e134d8ee (patch)
tree064ee5c05fde696305866ed8565a311e68543423 /sys/dev/hid
parentedcced8ab790ee677130166fa060d96c4eb31550 (diff)
Diffstat (limited to 'sys/dev/hid')
-rw-r--r--sys/dev/hid/hpen.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/hid/hpen.c b/sys/dev/hid/hpen.c
index 21a5e28a9827..7fed4e193016 100644
--- a/sys/dev/hid/hpen.c
+++ b/sys/dev/hid/hpen.c
@@ -114,7 +114,6 @@ static int
hpen_battery_strenght_cb(HIDMAP_CB_ARGS)
{
struct evdev_dev *evdev = HIDMAP_CB_GET_EVDEV();
- int32_t data;
switch (HIDMAP_CB_GET_STATE()) {
case HIDMAP_CB_IS_ATTACHING:
@@ -122,7 +121,6 @@ hpen_battery_strenght_cb(HIDMAP_CB_ARGS)
/* TODO */
break;
case HIDMAP_CB_IS_RUNNING:
- data = ctx.data;
/* TODO */
break;
default: