I believe I already did that by turning BUG() into a null expression.
#define BUG_ON(condition)
do { if (unlikely((condition)!=0)) BUG(); } while(0)
The compiler should be smart enough to optimise that away, methinks.
M.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/