Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267931
b: refs/heads/master
c: 2e7a35a
h: refs/heads/master
i:
  267929: 021494c
  267927: 1348ad5
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Aug 25, 2011
1 parent 3ae1527 commit 3c76a46
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 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: d7dc6b9c2e8fec9f9d6ebe518918d028a505ef7b
refs/heads/master: 2e7a35adbb4fdca2e5f2a02791c83704f4b1797f
19 changes: 0 additions & 19 deletions trunk/drivers/staging/hv/netvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -434,31 +433,13 @@ 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;
int ret;

pr_info("initializing....");

if (!dmi_check_system(hv_netvsc_dmi_table))
return -ENODEV;


/* Callback to client driver to complete the initialization */
netvsc_initialize(drv);

Expand Down

0 comments on commit 3c76a46

Please sign in to comment.