projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
chelsio: use BUG() instead of BUG_ON(1)
[linux-2.6-block.git]
/
drivers
/
net
/
ethernet
/
chelsio
/
cxgb4
/
cxgb4_debugfs.c
diff --git
a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
index 3130b43bba52c9570e76223bf2779c3f3c076c34..02959035ed3f21287a3673f93c55f0e76b549de1 100644
(file)
--- a/
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
+++ b/
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
@@
-2620,7
+2620,7
@@
static inline struct port_info *ethqset2pinfo(struct adapter *adap, int qset)
}
/* should never happen! */
- BUG
_ON(1
);
+ BUG
(
);
return NULL;
}