mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 15:18:19 +00:00
Staging: hv: Remove unnecessary function pointers in driver_context
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>
This commit is contained in:
parent
38fadc3e1f
commit
b9bd2f9b35
1 changed files with 0 additions and 8 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue