Skip to content

Commit

Permalink
Staging: hv: remove vmbus_on_event_dpc()
Browse files Browse the repository at this point in the history
Just call VmbusOnEvents() as that's all the function did, so we can
remove it.

Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed Dec 2, 2010
1 parent cef6dbf commit bafbb8d
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions drivers/staging/hv/vmbus_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,15 +250,6 @@ static void vmbus_on_msg_dpc(struct hv_driver *drv)
}
}

/*
* vmbus_on_event_dpc - DPC routine to handle events from the hypervisior
*/
static void vmbus_on_event_dpc(struct hv_driver *drv)
{
/* TODO: Process any events */
VmbusOnEvents();
}

/*
* vmbus_on_isr - ISR routine
*/
Expand Down Expand Up @@ -1039,10 +1030,8 @@ static void vmbus_msg_dpc(unsigned long data)
*/
static void vmbus_event_dpc(unsigned long data)
{
struct hv_driver *driver = (struct hv_driver *)data;

/* Call to bus driver to handle interrupt */
vmbus_on_event_dpc(driver);
VmbusOnEvents();
}

static irqreturn_t vmbus_isr(int irq, void *dev_id)
Expand Down

0 comments on commit bafbb8d

Please sign in to comment.