lkml.org 
[lkml]   [2011]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 17/59] Staging: hv: netvsc: Get rid of the DMI signature in netvsc_drv.c
    Date
    Now that we have implemented a vmbus specific mechanism for auto-loading,
    get rid of the DMI signature.

    Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
    Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
    ---
    drivers/staging/hv/netvsc_drv.c | 19 -------------------
    1 files changed, 0 insertions(+), 19 deletions(-)

    diff --git a/drivers/staging/hv/netvsc_drv.c b/drivers/staging/hv/netvsc_drv.c
    index ea5c289..d6c6180 100644
    --- a/drivers/staging/hv/netvsc_drv.c
    +++ b/drivers/staging/hv/netvsc_drv.c
    @@ -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>
    @@ -440,20 +439,6 @@ 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;
    @@ -461,10 +446,6 @@ static int __init netvsc_drv_init(void)

    pr_info("initializing....");

    - if (!dmi_check_system(hv_netvsc_dmi_table))
    - return -ENODEV;
    -
    -
    /* Callback to client driver to complete the initialization */
    netvsc_initialize(drv);

    --
    1.7.4.1


    \
     
     \ /
      Last update: 2011-08-25 19:07    [W:5.792 / U:0.068 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site