Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Apr 2016 09:25:56 +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: r298259 - head/sys/dev/hyperv/vmbus
Message-ID:  <201604190925.u3J9PuFf034764@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sephe
Date: Tue Apr 19 09:25:56 2016
New Revision: 298259
URL: https://svnweb.freebsd.org/changeset/base/298259

Log:
  hyperv: Remove two assign-only local variables
  
  Submitted by:	Jun Su <junsu microsoft com>
  MFC after:	1 week
  Sponsored by:	Microsoft OSTC

Modified:
  head/sys/dev/hyperv/vmbus/hv_channel_mgmt.c

Modified: head/sys/dev/hyperv/vmbus/hv_channel_mgmt.c
==============================================================================
--- head/sys/dev/hyperv/vmbus/hv_channel_mgmt.c	Tue Apr 19 07:34:31 2016	(r298258)
+++ head/sys/dev/hyperv/vmbus/hv_channel_mgmt.c	Tue Apr 19 09:25:56 2016	(r298259)
@@ -368,12 +368,6 @@ vmbus_channel_on_offer(hv_vmbus_channel_
 
 	offer = (hv_vmbus_channel_offer_channel*) hdr;
 
-	hv_guid *guidType;
-	hv_guid *guidInstance;
-
-	guidType = &offer->offer.interface_type;
-	guidInstance = &offer->offer.interface_instance;
-
 	// copy offer data
 	copied = malloc(sizeof(*copied), M_DEVBUF, M_NOWAIT);
 	if (copied == NULL) {



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