mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 19:51:25 -04:00
Staging: hv: Get rid of unnecessary code in netvsc.c
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a9eea18725
commit
62f659d724
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user