svn commit: r298259 - head/sys/dev/hyperv/vmbus
Sepherosa Ziehau
sephe at FreeBSD.org
Tue Apr 19 09:25:57 UTC 2016
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) {
More information about the svn-src-head
mailing list