From f88610e7cf217a9d127539cc2c5ecccaba13104c Mon Sep 17 00:00:00 2001 From: "K. Y. Srinivasan" Date: Thu, 25 Aug 2011 09:48:44 -0700 Subject: [PATCH] --- yaml --- r: 267932 b: refs/heads/master c: 84385b057fae74eb91a2a163be59543a31291bc6 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/staging/hv/hv_util.c | 20 -------------------- 2 files changed, 1 insertion(+), 21 deletions(-) diff --git a/[refs] b/[refs] index a9a78a2bbda2..0482dd1a4a36 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2e7a35adbb4fdca2e5f2a02791c83704f4b1797f +refs/heads/master: 84385b057fae74eb91a2a163be59543a31291bc6 diff --git a/trunk/drivers/staging/hv/hv_util.c b/trunk/drivers/staging/hv/hv_util.c index 5bd6f00b8242..c16a7f1e2280 100644 --- a/trunk/drivers/staging/hv/hv_util.c +++ b/trunk/drivers/staging/hv/hv_util.c @@ -26,7 +26,6 @@ #include #include #include -#include #include #include "hyperv.h" @@ -258,22 +257,6 @@ hv_utils_pci_table[] __maybe_unused = { }; MODULE_DEVICE_TABLE(pci, hv_utils_pci_table); - -static const struct dmi_system_id __initconst -hv_utils_dmi_table[] __maybe_unused = { - { - .ident = "Hyper-V", - .matches = { - DMI_MATCH(DMI_SYS_VENDOR, "Microsoft Corporation"), - DMI_MATCH(DMI_PRODUCT_NAME, "Virtual Machine"), - DMI_MATCH(DMI_BOARD_NAME, "Virtual Machine"), - }, - }, - { }, -}; -MODULE_DEVICE_TABLE(dmi, hv_utils_dmi_table); - - static int __init init_hyperv_utils(void) { pr_info("Registering HyperV Utility Driver\n"); @@ -282,9 +265,6 @@ static int __init init_hyperv_utils(void) return -ENODEV; - if (!dmi_check_system(hv_utils_dmi_table)) - return -ENODEV; - shut_txf_buf = kmalloc(PAGE_SIZE, GFP_KERNEL); time_txf_buf = kmalloc(PAGE_SIZE, GFP_KERNEL); hbeat_txf_buf = kmalloc(PAGE_SIZE, GFP_KERNEL);