[PATCH 35/64] Staging: hv: netvsc_drv: Get rid of unused state in struct netvsc_driver

K. Y. Srinivasan kys at microsoft.com
Fri May 13 02:34:48 UTC 2011


In preparation to getting rid of struct netvsc_driver, get rid of the
unused state (void *ctx)  in struct netvsc_driver.

Signed-off-by: K. Y. Srinivasan <kys at microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz at microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane at microsoft.com>
Signed-off-by: Hank Janssen <hjanssen at microsoft.com>
---
 drivers/staging/hv/hyperv_net.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/hv/hyperv_net.h b/drivers/staging/hv/hyperv_net.h
index a77048e..d67feb1 100644
--- a/drivers/staging/hv/hyperv_net.h
+++ b/drivers/staging/hv/hyperv_net.h
@@ -101,7 +101,6 @@ struct netvsc_driver {
 	/* Specific to this driver */
 	int (*send)(struct hv_device *dev, struct hv_netvsc_packet *packet);
 
-	void *ctx;
 };
 
 static inline
-- 
1.7.4.1




More information about the devel mailing list