Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2017 05:18:42 +0000 (UTC)
From:      Sepherosa Ziehau <sephe@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r316812 - head/sys/dev/hyperv/input
Message-ID:  <201704140518.v3E5IgQ6039391@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 (;;) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704140518.v3E5IgQ6039391>