From 12926ed8ea8173f65bbf513f86764124bb58d09a Mon Sep 17 00:00:00 2001 From: sephe Date: Fri, 14 Apr 2017 05:18:42 +0000 Subject: [PATCH] hyperv/kbd: Remove unnecessary assignment. Reported by: PVS MFC after: 3 days Sponsored by: Microsoft --- sys/dev/hyperv/input/hv_kbdc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/dev/hyperv/input/hv_kbdc.c b/sys/dev/hyperv/input/hv_kbdc.c index 73ede567f899..c9b0a59e03dc 100644 --- a/sys/dev/hyperv/input/hv_kbdc.c +++ b/sys/dev/hyperv/input/hv_kbdc.c @@ -298,7 +298,6 @@ hv_kbd_read_channel(struct vmbus_channel *channel, void *context) int ret = 0; hv_kbd_sc *sc = (hv_kbd_sc*)context; - channel = vmbus_get_channel(sc->dev); buf = sc->buf; buflen = sc->buflen; for (;;) {