summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2011-08-25 16:48:43 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2011-08-25 21:18:45 (GMT)
commit2e7a35adbb4fdca2e5f2a02791c83704f4b1797f (patch)
tree9bdc067c4667e9ca095e4a32fe27c00394df391d
parentd7dc6b9c2e8fec9f9d6ebe518918d028a505ef7b (diff)
downloadlinux-2e7a35adbb4fdca2e5f2a02791c83704f4b1797f.tar.xz
Staging: hv: netvsc: Get rid of the DMI signature in netvsc_drv.c
Now that we have implemented a vmbus specific mechanism for auto-loading, get rid of the DMI signature. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/hv/netvsc_drv.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/staging/hv/netvsc_drv.c b/drivers/staging/hv/netvsc_drv.c
index 1c3c5fe..2d2955c1 100644
--- a/drivers/staging/hv/netvsc_drv.c
+++ b/drivers/staging/hv/netvsc_drv.c
@@ -33,7 +33,6 @@
#include <linux/skbuff.h>
#include <linux/in.h>
#include <linux/slab.h>
-#include <linux/dmi.h>
#include <net/arp.h>
#include <net/route.h>
#include <net/sock.h>
@@ -434,20 +433,6 @@ static void __exit netvsc_drv_exit(void)
}
-static const struct dmi_system_id __initconst
-hv_netvsc_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_netvsc_dmi_table);
-
static int __init netvsc_drv_init(void)
{
struct hv_driver *drv = &netvsc_drv;
@@ -455,10 +440,6 @@ static int __init netvsc_drv_init(void)
pr_info("initializing....");
- if (!dmi_check_system(hv_netvsc_dmi_table))
- return -ENODEV;
-
-
/* Callback to client driver to complete the initialization */
netvsc_initialize(drv);