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:
parent
aa9ddbd03e
commit
55a1cfa16b
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user