Skip to content

Commit

Permalink
Staging: hv: netvsc_drv: Get rid of the unused function drv_to_netvsc…
Browse files Browse the repository at this point in the history
…drv()

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>
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed May 17, 2011
1 parent 10ffe98 commit d007173
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions drivers/staging/hv/hyperv_net.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit d007173

Please sign in to comment.