From: K. Y. Srinivasan Date: Thu, 25 Aug 2011 16:48:41 +0000 (-0700) Subject: Staging: hv: storvsc: Get rid of the DMI signature X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4e80fbfc7ff4e063d96b258aaa3da97e8e4dc6a5;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git Staging: hv: storvsc: Get rid of the DMI signature Now that we have implemented a vmbus specific mechanism for auto-loading, get rid of the DMI signature. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/storvsc_drv.c b/drivers/staging/hv/storvsc_drv.c index f85f2ea23743..6f67e9bfebd7 100644 --- a/drivers/staging/hv/storvsc_drv.c +++ b/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;