]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
Staging: hv: Get rid of the priv pointer in struct hv_driver
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 26 Apr 2011 16:20:27 +0000 (09:20 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 26 Apr 2011 23:07:09 +0000 (16:07 -0700)
Now that we have gotten rid of all uses of the priv element in
struct hv_driver, get rid of the priv pointer.

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>
drivers/staging/hv/vmbus_api.h

index f0d96eba7013bc5b2bed3be5942c5745ff243a4b..51fa952dd574a28e954d6aee3f3c67dcb069423b 100644 (file)
@@ -94,16 +94,6 @@ struct hv_driver {
        /* the device type supported by this driver */
        struct hv_guid dev_type;
 
-       /*
-        * Device type specific drivers (net, blk etc.)
-        * need a mechanism to get a pointer to
-        * device type specific driver structure given
-        * a pointer to the base hyperv driver structure.
-        * The current code solves this problem using
-        * a hack. Support this need explicitly
-        */
-       void *priv;
-
        struct device_driver driver;
 
        int (*dev_add)(struct hv_device *device, void *data);