Staging: hv: Get rid of unnecessary code in netvsc.c
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 10 May 2011 14:55:04 +0000 (07:55 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 May 2011 20:48:49 +0000 (13:48 -0700)
Now that we had gotten rid of the indirection; get rid of some
unnecessary code.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/netvsc.c

index 34828c43356985f563d6671ab17207eee5712ce7..832f62e70f5bbd1501c570f1c172057f26c48147 100644 (file)
@@ -1184,9 +1184,6 @@ int netvsc_initialize(struct hv_driver *drv)
        drv->name = driver_name;
        memcpy(&drv->dev_type, &netvsc_device_type, sizeof(struct hv_guid));
 
-       /* Setup the dispatch table */
-       driver->base.dev_add    = netvsc_device_add;
-       driver->base.dev_rm     = netvsc_device_remove;
 
        driver->send                    = netvsc_send;