-
- Downloads
Staging: hv: netvsc: Get rid of the usage of the ext field in struct hv_device
Now, eliminate the usage of ext field in struct hv_device for netvsc driver. We do this by registering pointer to struct netvsc_device as the driver specific data and eliminating the current usage of driver specific data to save and retrieve the pointer to struct net_device. Additionally, all access to the driver specific data is through the vmbus wrapper functions. As part of this cleanup, we also get rid of some unnecessary debug print statements. Signed-off-by:K. Y. Srinivasan <kys@microsoft.com> Signed-off-by:
Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
Showing
- drivers/staging/hv/hyperv_net.h 2 additions, 0 deletionsdrivers/staging/hv/hyperv_net.h
- drivers/staging/hv/netvsc.c 43 additions, 43 deletionsdrivers/staging/hv/netvsc.c
- drivers/staging/hv/netvsc_drv.c 19 additions, 5 deletionsdrivers/staging/hv/netvsc_drv.c
- drivers/staging/hv/rndis_filter.c 19 additions, 9 deletionsdrivers/staging/hv/rndis_filter.c
Loading
Please register or sign in to comment