chelsio: use BUG() instead of BUG_ON(1)
[linux-2.6-block.git] / drivers / net / ethernet / chelsio / cxgb4 / cxgb4_debugfs.c
index 3130b43bba52c9570e76223bf2779c3f3c076c34..02959035ed3f21287a3673f93c55f0e76b549de1 100644 (file)
@@ -2620,7 +2620,7 @@ static inline struct port_info *ethqset2pinfo(struct adapter *adap, int qset)
        }
 
        /* should never happen! */
-       BUG_ON(1);
+       BUG();
        return NULL;
 }