From: K. Y. Srinivasan <kys@microsoft.com>
Date: Fri, 29 Apr 2011 20:45:01 +0000 (-0700)
Subject: Staging: hv: Get rid of the drv field in struct hv_device
X-Git-Tag: firefly_0821_release~7613^2~1326^2~528
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7a8488e0da9335360ba539f05d92c8e150a102e8;p=firefly-linux-kernel-4.4.55.git

Staging: hv: Get rid of the drv field in struct hv_device

Now, we can rid of the drv field in struct hv_device.

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>
---

diff --git a/drivers/staging/hv/vmbus_api.h b/drivers/staging/hv/vmbus_api.h
index 51fa952dd574..02e35874c1c3 100644
--- a/drivers/staging/hv/vmbus_api.h
+++ b/drivers/staging/hv/vmbus_api.h
@@ -103,9 +103,6 @@ struct hv_driver {
 
 /* Base device object */
 struct hv_device {
-	/* the driver for this device */
-	struct hv_driver *drv;
-
 	char name[64];
 
 	struct work_struct probe_failed_work_item;