summaryrefslogtreecommitdiff
path: root/sys/dev/wscons
diff options
context:
space:
mode:
authorUlf Brosziewski <bru@cvs.openbsd.org>2020-04-26 11:17:57 +0000
committerUlf Brosziewski <bru@cvs.openbsd.org>2020-04-26 11:17:57 +0000
commitba05ad3de82e4ac2913780dfc16d6d76bee1b13c (patch)
tree9fe663b94d619e41599baf8993402f24bd2db903 /sys/dev/wscons
parent475b18b6800f10292c1c17c5d041a62c922a4497 (diff)
Remove unused assignments.
CID 1453143 ok kettenis@
Diffstat (limited to 'sys/dev/wscons')
-rw-r--r--sys/dev/wscons/wskbd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/wscons/wskbd.c b/sys/dev/wscons/wskbd.c
index 36680fab624..04c2c35f70a 100644
--- a/sys/dev/wscons/wskbd.c
+++ b/sys/dev/wscons/wskbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wskbd.c,v 1.104 2020/04/19 15:05:15 kettenis Exp $ */
+/* $OpenBSD: wskbd.c,v 1.105 2020/04/26 11:17:56 bru Exp $ */
/* $NetBSD: wskbd.c,v 1.80 2005/05/04 01:52:16 augustss Exp $ */
/*
@@ -1177,13 +1177,11 @@ getkeyrepeat:
case WSKBDIO_GETBACKLIGHT:
if (wskbd_get_backlight != NULL)
return (*wskbd_get_backlight)((struct wskbd_backlight *)data);
- error = ENOTTY;
break;
case WSKBDIO_SETBACKLIGHT:
if (wskbd_set_backlight != NULL)
return (*wskbd_set_backlight)((struct wskbd_backlight *)data);
- error = ENOTTY;
break;
}