Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228251
b: refs/heads/master
c: 9205307
h: refs/heads/master
i:
  228249: c340011
  228247: 0e89226
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Dec 2, 2010
1 parent 1d4873e commit 67bb1e8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 89733aa9cca016a542dc621d147a32d6b0fcdad5
refs/heads/master: 9205307cd88f09e51f2c4aeba79266317a299853
1 change: 0 additions & 1 deletion trunk/drivers/staging/hv/vmbus_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ struct vmbus_driver {
struct hv_driver Base;

/* Set by the caller */
void (*OnChildDeviceDestroy)(struct hv_device *device);
int (*OnChildDeviceAdd)(struct hv_device *RootDevice,
struct hv_device *ChildDevice);
void (*OnChildDeviceRemove)(struct hv_device *device);
Expand Down
10 changes: 0 additions & 10 deletions trunk/drivers/staging/hv/vmbus_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ static irqreturn_t vmbus_isr(int irq, void *dev_id);
static void vmbus_device_release(struct device *device);
static void vmbus_bus_release(struct device *device);

static void vmbus_child_device_destroy(struct hv_device *device_obj);
static int vmbus_child_device_register(struct hv_device *root_device_obj,
struct hv_device *child_device_obj);
static void vmbus_child_device_unregister(struct hv_device *child_device_obj);
Expand Down Expand Up @@ -298,7 +297,6 @@ static int vmbus_bus_init(int (*drv_init)(struct hv_driver *drv))
* Set this up to allow lower layer to callback to add/remove child
* devices on the bus
*/
vmbus_drv_obj->OnChildDeviceDestroy = vmbus_child_device_destroy;
vmbus_drv_obj->OnChildDeviceAdd = vmbus_child_device_register;
vmbus_drv_obj->OnChildDeviceRemove = vmbus_child_device_unregister;

Expand Down Expand Up @@ -599,13 +597,6 @@ static void vmbus_child_device_unregister(struct hv_device *device_obj)
&device_ctx->device);
}

/*
* vmbus_child_device_destroy - Destroy the specified child device on the vmbus.
*/
static void vmbus_child_device_destroy(struct hv_device *device_obj)
{
}

/*
* vmbus_uevent - add uevent for our device
*
Expand Down Expand Up @@ -848,7 +839,6 @@ static void vmbus_device_release(struct device *device)
{
struct vm_device *device_ctx = device_to_vm_device(device);

/* vmbus_child_device_destroy(&device_ctx->device_obj); */
kfree(device_ctx);

/* !!DO NOT REFERENCE device_ctx anymore at this point!! */
Expand Down

0 comments on commit 67bb1e8

Please sign in to comment.