hyperv/kbd: Remove unnecessary assignment.

Reported by:	PVS
MFC after:	3 days
Sponsored by:	Microsoft
This commit is contained in:
sephe 2017-04-14 05:18:42 +00:00
parent 5e198ef69f
commit 12926ed8ea

View File

@ -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 (;;) {