]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: hv: Get rid of dev_add from struct hv_driver
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 10 May 2011 14:55:10 +0000 (07:55 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 May 2011 20:48:53 +0000 (13:48 -0700)
Now that we have gotten rid of the indirection, get rid of the
unnecessary state struct hv_driver.

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 50fbeb53f24419cb98dd0f5a039e1134a37f1bfd..b1a7e883361b6139e537ea7f26078b26e6fbe641 100644 (file)
@@ -96,7 +96,6 @@ struct hv_driver {
 
        struct device_driver driver;
 
-       int (*dev_add)(struct hv_device *device, void *data);
        int (*dev_rm)(struct hv_device *device);
        void (*cleanup)(struct hv_driver *driver);