]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Staging: hv: netvsc_drv: Get rid of the unused function drv_to_netvscdrv()
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 13 May 2011 02:35:11 +0000 (19:35 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 May 2011 19:28:54 +0000 (12:28 -0700)
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>
drivers/staging/hv/hyperv_net.h

index aaebac63929be3ebd2b7b5b6d2bc54c1c0225a8f..0c2a74644fa5b4a96a81b97ebf752da0d343afed 100644 (file)
@@ -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 */