hyperv/channel: Nuke useless stack variable
MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D5499
This commit is contained in:
parent
65d6c54a61
commit
b0c32dfce5
@ -928,7 +928,6 @@ hv_vmbus_channel_recv_packet_raw(
|
||||
{
|
||||
int ret;
|
||||
uint32_t packetLen;
|
||||
uint32_t userLen;
|
||||
hv_vm_packet_descriptor desc;
|
||||
|
||||
*buffer_actual_len = 0;
|
||||
@ -942,8 +941,6 @@ hv_vmbus_channel_recv_packet_raw(
|
||||
return (0);
|
||||
|
||||
packetLen = desc.length8 << 3;
|
||||
userLen = packetLen - (desc.data_offset8 << 3);
|
||||
|
||||
*buffer_actual_len = packetLen;
|
||||
|
||||
if (packetLen > buffer_len)
|
||||
|
Loading…
x
Reference in New Issue
Block a user