diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2011-05-12 19:35:11 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-17 12:28:54 -0700 |
commit | d00717301bf806fc1d0095048516d2623acac5ca (patch) | |
tree | 26aa3cd9a85a504616d37d0dd68921228f212587 /drivers/staging/hv | |
parent | 10ffe98cdce196c0fc51ba94b28835100301a5f0 (diff) |
Staging: hv: netvsc_drv: Get rid of the unused function drv_to_netvscdrv()
Get rid of the unused function drv_to_netvscdrv().
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>
Diffstat (limited to 'drivers/staging/hv')
-rw-r--r-- | drivers/staging/hv/hyperv_net.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/hv/hyperv_net.h b/drivers/staging/hv/hyperv_net.h index aaebac63929b..0c2a74644fa5 100644 --- a/drivers/staging/hv/hyperv_net.h +++ b/drivers/staging/hv/hyperv_net.h @@ -88,13 +88,6 @@ struct netvsc_driver { struct hv_driver base; }; -static inline -struct netvsc_driver *drv_to_netvscdrv(struct device_driver *d) -{ - struct hv_driver *hvdrv = drv_to_hv_drv(d); - return container_of(hvdrv, struct netvsc_driver, base); -} - struct netvsc_device_info { unsigned char mac_adr[6]; bool link_state; /* 0 - link up, 1 - link down */ |