From 021494cad37793994361d4abb6d4681141b6d916 Mon Sep 17 00:00:00 2001 From: "K. Y. Srinivasan" Date: Thu, 25 Aug 2011 09:48:41 -0700 Subject: [PATCH] --- yaml --- r: 267929 b: refs/heads/master c: 4e80fbfc7ff4e063d96b258aaa3da97e8e4dc6a5 h: refs/heads/master i: 267927: 1348ad5412b6401a38c3b95b8a853ecef37e81bf v: v3 --- [refs] | 2 +- trunk/drivers/staging/hv/storvsc_drv.c | 22 ---------------------- 2 files changed, 1 insertion(+), 23 deletions(-) diff --git a/[refs] b/[refs] index 5a1697dd3350..2ea5f60883d7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 49ce6757cfb4de5be695a47f2cbcbc5589838af6 +refs/heads/master: 4e80fbfc7ff4e063d96b258aaa3da97e8e4dc6a5 diff --git a/trunk/drivers/staging/hv/storvsc_drv.c b/trunk/drivers/staging/hv/storvsc_drv.c index f85f2ea23743..6f67e9bfebd7 100644 --- a/trunk/drivers/staging/hv/storvsc_drv.c +++ b/trunk/drivers/staging/hv/storvsc_drv.c @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include @@ -724,27 +723,6 @@ static struct hv_driver storvsc_drv = { .remove = storvsc_remove, }; -/* - * We use a DMI table to determine if we should autoload this driver This is - * needed by distro tools to determine if the hyperv drivers should be - * installed and/or configured. We don't do anything else with the table, but - * it needs to be present. - */ - -static const struct dmi_system_id __initconst -hv_stor_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_stor_dmi_table); - static int __init storvsc_drv_init(void) { int ret;