summaryrefslogtreecommitdiffstats
path: root/drivers/net/vmxnet3
diff options
context:
space:
mode:
authorSasha Levin <sasha.levin@oracle.com>2012-11-08 11:23:03 +0100
committerDavid S. Miller <davem@davemloft.net>2012-11-09 23:03:07 +0100
commitc068e7774f6382a15e7a5ee7cd31ea662d2a5f97 (patch)
tree7e03aee325b1f7b051abbad5f9dc7d69e5d4e91d /drivers/net/vmxnet3
parentipip: add GSO support (diff)
downloadlinux-c068e7774f6382a15e7a5ee7cd31ea662d2a5f97.tar.xz
linux-c068e7774f6382a15e7a5ee7cd31ea662d2a5f97.zip
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();
}
}