Re: [PATCH V6 03/10] USB: f81232: implement RX bulk-in ep

From: Peter Hung
Date: Mon Feb 16 2015 - 20:42:20 EST


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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/