Skip to content

Commit

Permalink
Staging: hv: Get rid of dev_add from struct hv_driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed May 11, 2011
1 parent be3c819 commit dc9cf30
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/staging/hv/vmbus_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit dc9cf30

Please sign in to comment.