From: K. Y. Srinivasan Date: Fri, 13 May 2011 02:35:11 +0000 (-0700) Subject: Staging: hv: netvsc_drv: Get rid of the unused function drv_to_netvscdrv() X-Git-Tag: v3.0-rc1~336^2~177 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d00717301bf806fc1d0095048516d2623acac5ca;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/hyperv_net.h b/drivers/staging/hv/hyperv_net.h index aaebac6..0c2a746 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 */