Skip to content

Commit

Permalink
vmxnet3: convert BUG_ON(true) into a simple BUG()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sasha Levin authored and David S. Miller committed Nov 9, 2012
1 parent c3b89fb commit c068e77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/vmxnet3/vmxnet3_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1897,7 +1897,7 @@ vmxnet3_free_irqs(struct vmxnet3_adapter *adapter)
free_irq(adapter->pdev->irq, adapter->netdev);
break;
default:
BUG_ON(true);
BUG();
}
}

Expand Down

0 comments on commit c068e77

Please sign in to comment.