hyperv: Remove two assign-only local variables

Submitted by:	Jun Su <junsu microsoft com>
MFC after:	1 week
Sponsored by:	Microsoft OSTC
This commit is contained in:
Sepherosa Ziehau 2016-04-19 09:25:56 +00:00
parent aa9ddbd03e
commit 55a1cfa16b

View File

@ -368,12 +368,6 @@ vmbus_channel_on_offer(hv_vmbus_channel_msg_header* hdr)
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) {