aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorK. Y. Srinivasan <[email protected]>2011-05-10 07:56:08 -0700
committerGreg Kroah-Hartman <[email protected]>2011-05-11 13:49:28 -0700
commit1a392592f9a99dcfdc4c2f9565676a7d245ac289 (patch)
treec72435436bf4189088cd628011e084fec3ce51ee
parent17e9531d931ccf1b6df310f836ac99c686b13bcf (diff)
Staging: hv: Get rid of some unused functions from storvsc_api.h
Now get rid of unused functions. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/staging/hv/storvsc_api.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/staging/hv/storvsc_api.h b/drivers/staging/hv/storvsc_api.h
index d2917eb51bd2..4db913f51d00 100644
--- a/drivers/staging/hv/storvsc_api.h
+++ b/drivers/staging/hv/storvsc_api.h
@@ -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;