mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 18:42:14 -04:00
Staging: hv: Get rid of dev_add from struct hv_driver
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
be3c819531
commit
dc9cf30a96
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user