Skip to content

Commit

Permalink
Staging: hv: Get rid of some unused functions from storvsc_api.h
Browse files Browse the repository at this point in the history
Now get rid of unused functions.

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 11, 2011
1 parent 17e9531 commit 1a39259
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions drivers/staging/hv/storvsc_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,18 +144,6 @@ static inline void put_stor_device(struct hv_device *device)
atomic_dec(&stor_device->ref_count);
}

static inline struct storvsc_driver *hvdr_to_stordr(struct hv_driver *d)
{
return container_of(d, struct storvsc_driver, base);
}

static inline
struct storvsc_driver *drv_to_stordrv(struct device_driver *d)
{
struct hv_driver *hvdrv = drv_to_hv_drv(d);
return hvdr_to_stordr(hvdrv);
}

static inline void storvsc_wait_to_drain(struct storvsc_device *dev)
{
dev->drain_notify = true;
Expand Down

0 comments on commit 1a39259

Please sign in to comment.