staging: hv: remove ASSERT()s in vmbus_drv.c
authorBill Pemberton <wfp5p@virginia.edu>
Wed, 5 May 2010 19:27:51 +0000 (15:27 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:36:15 +0000 (11:36 -0700)
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>
drivers/staging/hv/vmbus_drv.c

index d2a82aa3bbd8297b945825505708961cc9e31862..a715b3db87cedb82745889569be3cd4e9e986bdf 100644 (file)
@@ -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);
@@ -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);
@@ -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);