hyperv/vmbus: Nuke unused function

MFC after:	1 week
Sponsored by:	Microsoft OSTC
This commit is contained in:
sephe 2016-04-11 03:07:35 +00:00
parent 65b4f5af73
commit 1cae14fc17
2 changed files with 0 additions and 13 deletions

View File

@ -69,18 +69,6 @@ hv_get_timecount(struct timecounter *tc)
return (now);
}
/**
* @brief Query the cpuid for presence of windows hypervisor
*/
int
hv_vmbus_query_hypervisor_presence(void)
{
if (vm_guest != VM_GUEST_HV)
return (0);
return (hv_high >= HV_X64_CPUID_MIN && hv_high <= HV_X64_CPUID_MAX);
}
/**
* @brief Get version of the windows hypervisor
*/

View File

@ -704,7 +704,6 @@ uint16_t hv_vmbus_post_msg_via_msg_ipc(
uint16_t hv_vmbus_signal_event(void *con_id);
void hv_vmbus_synic_init(void *irq_arg);
void hv_vmbus_synic_cleanup(void *arg);
int hv_vmbus_query_hypervisor_presence(void);
struct hv_device* hv_vmbus_child_device_create(
hv_guid device_type,