Commit 4e80fbfc authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Greg Kroah-Hartman
Browse files

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: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 49ce6757
Loading
Loading
Loading
Loading
+0 −22
Original line number Original line Diff line number Diff line
@@ -24,7 +24,6 @@
#include <linux/module.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/device.h>
#include <linux/blkdev.h>
#include <linux/blkdev.h>
#include <linux/dmi.h>
#include <scsi/scsi.h>
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_host.h>
@@ -724,27 +723,6 @@ static struct hv_driver storvsc_drv = {
	.remove = storvsc_remove,
	.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)
static int __init storvsc_drv_init(void)
{
{
	int ret;
	int ret;