Hello, Greg KH 於 2015/2/17 上午 03:41 寫道:
+ if (unlikely(data[i+0] & UART_LSR_BRK_ERROR_BITS)) {Never use unlikely() unless you can prove that it actually matters if you use it. Hint, it's almost impossible to prove, so don't use it, the compiler and processor look-ahead is almost smarter than we are.
Thanks for your hint. I'll remove it with next patch. -- With Best Regards, Peter Hung -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

