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 (;;) {
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to