The branch main has been updated by wulf:

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

commit 55eb41bb1fb69429330ea415fb463735ae08da64
Author:     Vladimir Kondratyev <w...@freebsd.org>
AuthorDate: 2021-04-22 22:13:25 +0000
Commit:     Vladimir Kondratyev <w...@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))
_______________________________________________
dev-commits-src-main@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"

Reply via email to