Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267929
b: refs/heads/master
c: 4e80fbf
h: refs/heads/master
i:
  267927: 1348ad5
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Aug 25, 2011
1 parent 7a54b34 commit 021494c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 23 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 49ce6757cfb4de5be695a47f2cbcbc5589838af6
refs/heads/master: 4e80fbfc7ff4e063d96b258aaa3da97e8e4dc6a5
22 changes: 0 additions & 22 deletions trunk/drivers/staging/hv/storvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include <linux/module.h>
#include <linux/device.h>
#include <linux/blkdev.h>
#include <linux/dmi.h>
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_host.h>
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 021494c

Please sign in to comment.