summaryrefslogtreecommitdiff
path: root/drivers/net/vmxnet3
diff options
context:
space:
mode:
authorSasha Levin <sasha.levin@oracle.com>2012-11-08 14:23:03 +0400
committerDavid S. Miller <davem@davemloft.net>2012-11-10 02:03:07 +0400
commitc068e7774f6382a15e7a5ee7cd31ea662d2a5f97 (patch)
tree7e03aee325b1f7b051abbad5f9dc7d69e5d4e91d /drivers/net/vmxnet3
parentc3b89fbba339aae533e380839fa078787635356e (diff)
downloadlinux-c068e7774f6382a15e7a5ee7cd31ea662d2a5f97.tar.xz
vmxnet3: convert BUG_ON(true) into a simple BUG()
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>
Diffstat (limited to 'drivers/net/vmxnet3')
-rw-r--r--drivers/net/vmxnet3/vmxnet3_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/vmxnet3/vmxnet3_drv.c b/drivers/net/vmxnet3/vmxnet3_drv.c
index ce9d4f2c9776..49ca0bc0955f 100644
--- a/drivers/net/vmxnet3/vmxnet3_drv.c
+++ b/drivers/net/vmxnet3/vmxnet3_drv.c
@@ -1897,7 +1897,7 @@ vmxnet3_free_irqs(struct vmxnet3_adapter *adapter)
free_irq(adapter->pdev->irq, adapter->netdev);
break;
default:
- BUG_ON(true);
+ BUG();
}
}