Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Apr 2021 22:14:23 GMT
From:      Vladimir Kondratyev <wulf@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 55eb41bb1fb6 - main - hv_kbd: Fix build with EVDEV_SUPPORT kernel option disabled.
Message-ID:  <202104222214.13MMENsI078122@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by wulf:

URL: https://cgit.FreeBSD.org/src/commit/?id=55eb41bb1fb69429330ea415fb463735ae08da64

commit 55eb41bb1fb69429330ea415fb463735ae08da64
Author:     Vladimir Kondratyev <wulf@FreeBSD.org>
AuthorDate: 2021-04-22 22:13:25 +0000
Commit:     Vladimir Kondratyev <wulf@FreeBSD.org>
CommitDate: 2021-04-22 22:13:25 +0000

    hv_kbd: Fix build with EVDEV_SUPPORT kernel option disabled.
    
    Reported by:    olivier
    MFC with:       e4643aa4c4ff
---
 sys/dev/hyperv/input/hv_kbd.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys/dev/hyperv/input/hv_kbd.c b/sys/dev/hyperv/input/hv_kbd.c
index 52ce621b2a89..53aacda7fbcb 100644
--- a/sys/dev/hyperv/input/hv_kbd.c
+++ b/sys/dev/hyperv/input/hv_kbd.c
@@ -269,9 +269,8 @@ hvkbd_read_char_locked(keyboard_t *kbd, int wait)
 	uint32_t action;
 	keystroke ks;
 	hv_kbd_sc *sc = kbd->kb_data;
-#ifdef EVDEV_SUPPORT
 	int keycode;
-#endif
+
 	HVKBD_LOCK_ASSERT();
 
 	if (!KBD_IS_ACTIVE(kbd) || !hv_kbd_prod_is_ready(sc))



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104222214.13MMENsI078122>