Staging: hv: Remove unnecessary function pointers in driver_context
authorK. Y. Srinivasan <kys@microsoft.com>
Mon, 7 Mar 2011 21:23:18 +0000 (13:23 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 7 Mar 2011 22:14:10 +0000 (14:14 -0800)
Get rid of the unnecessary function pointers for probe(),
remove() and shutdown() from struct driver_context.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/vmbus.h

index 42f2adb..8bcfb40 100644 (file)
@@ -33,14 +33,6 @@ struct driver_context {
 
        struct device_driver driver;
 
-       /*
-        * Use these methods instead of the struct device_driver so 2.6 kernel
-        * stops complaining
-        * TODO - fix this!
-        */
-       int (*probe)(struct device *);
-       int (*remove)(struct device *);
-       void (*shutdown)(struct device *);
 };
 
 struct vm_device {