Skip to content

Commit

Permalink
staging: hv: remove ASSERT()s in vmbus_drv.c
Browse files Browse the repository at this point in the history
These ASSERT()s serve no purpose other than for debugging.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed May 11, 2010
1 parent a16e148 commit a3810b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/hv/vmbus_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ static void vmbus_msg_dpc(unsigned long data)

DPRINT_ENTER(VMBUS_DRV);

ASSERT(vmbus_drv_obj->OnMsgDpc != NULL);
/* ASSERT(vmbus_drv_obj->OnMsgDpc != NULL); */

/* Call to bus driver to handle interrupt */
vmbus_drv_obj->OnMsgDpc(&vmbus_drv_obj->Base);
Expand All @@ -940,7 +940,7 @@ static void vmbus_event_dpc(unsigned long data)

DPRINT_ENTER(VMBUS_DRV);

ASSERT(vmbus_drv_obj->OnEventDpc != NULL);
/* ASSERT(vmbus_drv_obj->OnEventDpc != NULL); */

/* Call to bus driver to handle interrupt */
vmbus_drv_obj->OnEventDpc(&vmbus_drv_obj->Base);
Expand All @@ -955,7 +955,7 @@ static irqreturn_t vmbus_isr(int irq, void *dev_id)

DPRINT_ENTER(VMBUS_DRV);

ASSERT(vmbus_driver_obj->OnIsr != NULL);
/* ASSERT(vmbus_driver_obj->OnIsr != NULL); */

/* Call to bus driver to handle interrupt */
ret = vmbus_driver_obj->OnIsr(&vmbus_driver_obj->Base);
Expand Down

0 comments on commit a3810b0

Please sign in to comment.