Commit a3810b0e authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

staging: hv: remove ASSERT()s in vmbus_drv.c

These ASSERT()s serve no purpose other than for debugging.
Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent a16e1485
...@@ -923,7 +923,7 @@ static void vmbus_msg_dpc(unsigned long data) ...@@ -923,7 +923,7 @@ static void vmbus_msg_dpc(unsigned long data)
DPRINT_ENTER(VMBUS_DRV); DPRINT_ENTER(VMBUS_DRV);
ASSERT(vmbus_drv_obj->OnMsgDpc != NULL); /* ASSERT(vmbus_drv_obj->OnMsgDpc != NULL); */
/* Call to bus driver to handle interrupt */ /* Call to bus driver to handle interrupt */
vmbus_drv_obj->OnMsgDpc(&vmbus_drv_obj->Base); vmbus_drv_obj->OnMsgDpc(&vmbus_drv_obj->Base);
...@@ -940,7 +940,7 @@ static void vmbus_event_dpc(unsigned long data) ...@@ -940,7 +940,7 @@ static void vmbus_event_dpc(unsigned long data)
DPRINT_ENTER(VMBUS_DRV); DPRINT_ENTER(VMBUS_DRV);
ASSERT(vmbus_drv_obj->OnEventDpc != NULL); /* ASSERT(vmbus_drv_obj->OnEventDpc != NULL); */
/* Call to bus driver to handle interrupt */ /* Call to bus driver to handle interrupt */
vmbus_drv_obj->OnEventDpc(&vmbus_drv_obj->Base); vmbus_drv_obj->OnEventDpc(&vmbus_drv_obj->Base);
...@@ -955,7 +955,7 @@ static irqreturn_t vmbus_isr(int irq, void *dev_id) ...@@ -955,7 +955,7 @@ static irqreturn_t vmbus_isr(int irq, void *dev_id)
DPRINT_ENTER(VMBUS_DRV); DPRINT_ENTER(VMBUS_DRV);
ASSERT(vmbus_driver_obj->OnIsr != NULL); /* ASSERT(vmbus_driver_obj->OnIsr != NULL); */
/* Call to bus driver to handle interrupt */ /* Call to bus driver to handle interrupt */
ret = vmbus_driver_obj->OnIsr(&vmbus_driver_obj->Base); ret = vmbus_driver_obj->OnIsr(&vmbus_driver_obj->Base);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment