vmxnet3: convert BUG_ON(true) into a simple BUG()
authorSasha Levin <sasha.levin@oracle.com>
Thu, 8 Nov 2012 10:23:03 +0000 (10:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Nov 2012 22:03:07 +0000 (17:03 -0500)
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Shreyas N Bhatewara <sbhatewara@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vmxnet3/vmxnet3_drv.c

index ce9d4f2c9776e08d1b543f18de8cb7100fe43a86..49ca0bc0955f92ebd4f80c3d6f0e35eeefcfbe16 100644 (file)
@@ -1897,7 +1897,7 @@ vmxnet3_free_irqs(struct vmxnet3_adapter *adapter)
                free_irq(adapter->pdev->irq, adapter->netdev);
                break;
        default:
-               BUG_ON(true);
+               BUG();
        }
 }