svn commit: r316812 - head/sys/dev/hyperv/input

Sepherosa Ziehau sephe at FreeBSD.org
Fri Apr 14 05:18:43 UTC 2017


Author: sephe
Date: Fri Apr 14 05:18:42 2017
New Revision: 316812
URL: https://svnweb.freebsd.org/changeset/base/316812

Log:
  hyperv/kbd: Remove unnecessary assignment.
  
  Reported by:	PVS
  MFC after:	3 days
  Sponsored by:	Microsoft

Modified:
  head/sys/dev/hyperv/input/hv_kbdc.c

Modified: head/sys/dev/hyperv/input/hv_kbdc.c
==============================================================================
--- head/sys/dev/hyperv/input/hv_kbdc.c	Fri Apr 14 05:13:50 2017	(r316811)
+++ head/sys/dev/hyperv/input/hv_kbdc.c	Fri Apr 14 05:18:42 2017	(r316812)
@@ -298,7 +298,6 @@ hv_kbd_read_channel(struct vmbus_channel
 	int ret = 0;
 
 	hv_kbd_sc *sc = (hv_kbd_sc*)context;
-	channel = vmbus_get_channel(sc->dev);
 	buf = sc->buf;
 	buflen = sc->buflen;
 	for (;;) {


More information about the svn-src-head mailing list